Guys could u help me how to take input in codechef. I am getting eof error while running code in python
I think you may be having issues while taking space separated input.
If you’re using Python 3, take space separated input like this:
A, B = map(int, input().spit())
If you have to take a complete list as input, with space separated values, use this:
L = list(map(int, input().split())
int if you won’t be taking integer values as input.
Best way to learn is check past programs of coders
you can check codes of people who code in py