Advertisement
da_real_j03l

python variable problem

Nov 30th, 2021
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.41 KB | None | 0 0
  1. def passcreate(entrdpwd):
  2.     print("What is the password you wish to set?")
  3.     entrdpwd = input(">")
  4.     passwordcheck()
  5.  
  6. def passwordcheck():
  7.     entrdpwd = passcreate(entrdpwd)
  8.     print("Enter Password")
  9.     pswdguess = input(">")
  10.  
  11.     if pswdguess == entrdpwd:
  12.         print("Access Granted")
  13.         database()
  14.     elif pswdguess != entrdpwd:
  15.         print("Access Denied")
  16.         securitylock()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement