In order to get the output line by line and not after each other, I want to start using /n command.
Here is the piece of code where I think it should be placed:
password_for = input('This password is for: ')
your_pass = 'Your password for {} is: {}'.format(password_for, password)
save_path = '/Users/"MyUsername"/Desktop'
name_of_file = input("What is the name of the file: ")
completeName = os.path.join(save_path, name_of_file+".txt")
with open(completeName, "a+") as file1:
file1.write(your_pass)
The /n command should be used to get the text that's supposed to be written (output), line by line like this:
Input 1
input 2
But now the output is working like this:
Input1Input2
Maybe /N isn't the solution? Let me know!