help me to solve the error by rewrite the code.
Question : Let "A" be a year, write a program to check whether this year is a leap year or not.
Print "Y" if its a leap year and "N" if its a common year.
My Answer:
A=int(input())
if A%4==0:
print("Y")
else:
print("N")
error:
Traceback (most recent call last):
File "script-3.8.1.py", line 1, in
A=int(input())
EOFError: EOF when reading a line