r/learningpython • u/Poyri35 • Nov 22 '22
Any way to make this optimised
The idea is asking the user if they want to go back to a room in a text based game. This is just a prototype but I can’t think of another way.
0
Upvotes
View all comments
Show parent comment
1
u/Poyri35 Nov 22 '22
It is? Unless my app is broken (because I thought of this on the fly and coded on my phone) every break only stops the smallest while loop. So when you break the small loop, it goes to the bigger one which has an option to end the code or go in to the small loop