Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Login:
- user_id = input("USERNAME: ")
- pass_id = input("PASSWORD: ")
- def __init__(self, username, password):
- self.username = username
- self.password = password
- def logCheck(self, username, password):
- if self.user_id == username and self.pass_id == password:
- print("LOGIN SUCCES!")
- else:
- print("LOGIN FAILURE!")
- user_Joel = Login("joel", "abc123")
- Login.logCheck(user_Joel)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement