title: Join random won't work in my password generation script
body: <p>I've written this simple python script for a starter project as I am interested in learning python. The goal is to ask the user for a length of their desired password, and then generate a secure password of that length. This is my code:</p>
  
  <pre><code>import random
  import string
  
  def randomword():
      possibles = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-=_+!@#$%^&amp;*(),./&lt;&gt;?'
      length = int(input("Password Length: "))
      return ''.join(random.choice(possibles) for i in range(length))
  
  def pause():
      pause = input("Hit enter to continue.")
  
  
  randomword()
  pause()
  </code></pre>
  
  <p>However, when I run this, it asks for the length of the password, And then immediately skips over to the pause() function, like this:</p>
  
  <p><code>Password Length: 10
  Hit enter to continue.
  </code></p>
  
  <p>Any help would be greatly appreciated. :)</p>