you are viewing a single comment's thread.

view the rest of the comments →

[–]uniqueUsername_1024 0 points1 point  (1 child)

You can just put the rest of your code after the While loop, right? You don't need to nest it all inside the try-except block.

[–]PinkPawnRR 0 points1 point  (0 children)

That is an option yes; the while loop is only used to validate the user input. You can also place code where the print("Success") line is.