DEV Community

Anonymous3018
Anonymous3018

Posted on

Help, I'm stuck in a loop.

For some reason whenever I press run then enter anything, it just loops itself. And i don't know what wrong please help.

Top comments (1)

Collapse
 
danmba profile image
Dan

You are trying to compare an integer & a string. Convert the input() result to an integer & it should work.