Error with input Your own while / else


I am getting error while running in while loop. I am attaching the screen along with the message.

Error on line 9:
guess = input()


guess=int(input("Enter a number: "))


It was working. Problem seems to me was my keyboard it seems to have issue with my num lock. Sry for raising false alarm.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.