Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def main():
- users=['ari']
- passwords=['rycbar1234']
- # This is the "title screen"
- print('_____This is a password keeper_____')
- # checking if the user has an account
- actCheck = input('Do you already have an account?')
- if actCheck == 'Yes' or actCheck == 'yes':
- # asking for user's name and password
- yourUser = input('___What is your Username?___')
- yourPass = input('___What is your Password?___')
- if (yourUser in users and yourPass in passwords):
- dirCheck = input('Account settings?[y,n]')
- if dirCheck == 'y' or dirCheck == 'Y':
- # This is the start of the password/username thing
- print('this function is not working yet!')
- actSetCheck = input('Change username or password?')
- if (
- actSetCheck == 'user' or actSetCheck == 'User' or actSetCheck == 'Username' or actSetCheck == 'username'):
- yourNewUser = input('What would you like your new username to be?')
- elif (
- actSetCheck == 'pass' or actSetCheck == 'Pass' or actSetCheck == 'password' or actSetCheck == 'Password'):
- yourNewPass = input('What would you like your new password to be?')
- elif dirCheck == 'n' or dirCheck == 'N':
- request()
- # incorrect password thing
- else:
- print('Incorrect Username or password')
- else:
- print('This function is not working yet!')
- createAct = input('Would you like to create one?')
- if createAct == 'yes' or createAct == 'Yes':
- createUser = input('What would you like your username to be?')
- createPass = input('What would you like your password to be?')
- users.append(createUser)
- passwords.
- else:
- main()
- main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement