+ 1
While loop not breaking when value set to false
I am having problem while breaking the while loop in first condition the other conditons it is working fine please check my code by inputing incorrect value https://code.sololearn.com/cbxgoWt2cR6W/?ref=app
5 Réponses
+ 1
https://code.sololearn.com/cbxgoWt2cR6W/?ref=app
+ 1
Samip Karki it will be great if you add relative programming language as a tag. In this programming language is python.
+ 1
🇮🇳Vivek🇮🇳 sorry mate i think the app glitched anyway i added relevant tags
+ 1
NotAPythonNinja
The use of 'break' keyword is fine but my question is
Why the 'game_stat = False is not' working ??
It is suppose to break the loop
+ 1
NotAPythonNinja thanks mate .....!!!