user = input('Create a Username: ')
passw = input('Create a Password: ')
f = open("users.txt", "a")
combine = "|".join("\n" + user + passw)
f.write(combine)
f.close()
I created a variable where I can combine both of the username and password and write It in the users.txt file.but when I try to combine "admin" and "99" It goes like this:
a|d|m|i|n|9|9|
.