DEV Community

Discussion on: Help, I'm stuck in a loop.

Collapse
 
danmba profile image
Dan

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