Back

Error in the first program in codekata (Python)

Created 1 year ago
57 Views
3 Comments
Rajesh5VDDtg
@Rajesh5VDDtg
Rajesh5VDDtg
@Rajesh5VDDtgProfile is locked. Login

Write a code to get the input in the given format and print the output in the given format

Input Description:
To take an integer value

Output Description:
Print the integer value

My program :

n = input()

print(n)

but I keep getting an error

Traceback (most recent call last):
  File "script-3.8.1.py", line 1, in 
    n = input()
EOFError: EOF when reading a line
Comments (3)
Please login to comment.