Python 3.4 shows print being invalid syntax : <pre><code>import string
from random import *
characters = string.ascii_letters+strings.punctuation+string.digits
password = "".join(choice(characters) for x in range(randint(8,16))
print(password)
</code></pre>

<p>print shows up as invalid syntax. I  am trying to make a random password generator. What am I doing wrong?</p>
