title: Pickle not creating and writing to a file?
body: <p>I am trying to create a program that writes user input to a text document, but it is not working. </p>
  
  <p>It just loops this one section over and over again. Here is my current code:</p>
  
  <pre><code>else:
      #Creates a new file and writes the pasword to it 
      print("Strong Password")
      password1 += password1
      newName = input("What do you want to save this password as? ")
      print(newName)
      file = open("passwordstorer", "w")
      file.write(newName)
      file.write(password1)
      file.close()
  
      break
  </code></pre>