title: How to end the program and return to the menu?
body: <p>I want to it so that if the user enters a symbol that it is not allowed it ends and returns to the menu. However what happens is it still displays the user's score they got on the password. I want it so that it does not display this if a prohibited symbol is entered. Here is my code:</p>
  
  <pre><code>for c in user_password:
    if c not in symbols:
        print("Some symbols you entered are not allowed")
            break   
  print(user_score)
  </code></pre>