Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- newaccountchoice, newaccountchoice1, newaccountusername, d, e, f, g = "", 0, 0, 0, 0, 0, 0
- users = "users.dat"
- while newaccountchoice1 == 0:
- newaccountchoice = raw_input("would you like to create a new account?")
- if newaccountchoice == "yes":
- newaccountchoice1 = 1
- if newaccountchoice == "no":
- newaccountchoice1 = 0
- if newaccountchoice1 == 1:
- newaccountusername = raw_input("What do you want your username to be?")
- newaccountpassword = raw_input("What do you want your password to be?")
- FILE = open(users,"w")
- FILE.writelines(newaccountusername + " " + newaccountpassword)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement