+ 2
Why it is showing eror
How can I have input as a integer https://code.sololearn.com/cwfZ5o6ew408/?ref=app
2 Answers
+ 3
It works, but your input should really be a number.
+ 2
Sameeksha Yadav
n=int(input("enter a no. "))
print(n)
How can I have input as a integer https://code.sololearn.com/cwfZ5o6ew408/?ref=app