0
Please help me out
When I'm running the program it says 'break is not in the loop' and 'guessed_answer is not defined' https://code.sololearn.com/cS43vRYWYs7U/?ref=app
2 Answers
0
first of all your first while loop can be completely ignored since 1!>=2
0
moreover python is based on tabs what means that each loop goes as long as the followijg code ks kne tab more right. So this break is not in a loop, but break can be only used in loops