0

Haha I'm getting better

I finally completed it, if you answer everything right, works perfect. The issue is if the user answers wrong there stuck in a loop 😥. Why won't it let me out after they answer correctly. https://code.sololearn.com/cMCmr5FMqyry/?ref=app

20th Dec 2022, 6:41 AM
Kidale Smith
Kidale Smith - avatar
2 ответов
+ 3
Line 3 and 9 are wrong. You don't assign the input to a variable. It should be answer = input()
20th Dec 2022, 12:57 PM
Paul
Paul - avatar
+ 2
You are not storing input back to 'answer'. So it won't change so condition stay true infinitely.. First try to go with single loop.. Store input into answer.
20th Dec 2022, 12:55 PM
Jayakrishna 🇮🇳