Regarding input

When I am taking input as
x = input()
print(x)

It is showing error as END OF FILE

why is this happening so?

Hey @shivankkhare1, this error usually comes when you don’t provide custom input before running your code. Make sure you are providing custom input before running your code.

I hope this resolves your doubt :slight_smile:
Please mark the doubt as resolved in your doubts section :slight_smile:
Happy Coding :slight_smile:

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.