Guest User

Python 3.7 Account Script

a guest
Jan 5th, 2019
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.51 KB | None | 0 0
  1. import time
  2. import sys
  3. username = input("Enter your Username ")
  4. time.sleep (0.5)
  5. password = input("Enter your Password ")
  6. print ("Okay! Now re-sign in!")
  7. accountInfo1 = username
  8. accountInfo2 = password
  9. accountInfo3 = input("Enter the Username ")
  10. accountInfo4 = input("Enter the Password ")
  11. if accountInfo3 == username:
  12.     print (" ")
  13. else:
  14.     print("The Username is incorrect")
  15.     sys.exit(1)
  16. if accountInfo4 == password:
  17.     print ("Correct! You have logged in!")
  18. else:
  19.     print ("The Password is incorrect")
Add Comment
Please, Sign In to add comment