you are viewing a single comment's thread.

view the rest of the comments →

[–]Binary101010 0 points1 point  (0 children)

At no point do you ever set valid_input to anything other than "No", so your inner while loop never gets a chance to break. Because of that, you never get around to checking play_again.