Using sys.stdin to get input all at once
I am trying to take all the input at once for compititive programming. The best way I found was the sys.stdin(I am coding in python).
This method works fine when I submit the code to the online judge. But the problem is when I am trying to use it on my code edditor(PyCharm/VSCode). After I run the program, The input field is continuously taking input and I can not identify where to stop taking input.