0
Why it takes input twice even if while loop's condition is false
4 odpowiedzi
+ 1
The condition isn't false. You recursively call the same function, which in turn, asks for more input. It won't end
This is probably what you're lookin for
https://code.sololearn.com/cFDP1ZoFRW8T/?ref=app
+ 1
I just tried it with no input, it prints out "works" then when it see's there is no input, skips the while loop. What's wrong?
0
Slick if I entered no as input then why it asks another time ,loop should terminate at the first time
0
Why is my input coming twice