Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Account:
- # define a non-static method
- def login(self, username, password):
- self.username = username
- self.password = password
- """
- * Referencing the Account.login(self, username, password)
- * Just call the `Account` object in place of self
- """
- Account.login(Account, "Olasheni", "password_example")
Add Comment
Please, Sign In to add comment