Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class User(object):
- def __init__(self, username, password):
- self.username = username
- self.password = password
- def display(self):
- print self.username
- print self.password
- usr = User("guri", "password")
- usr.display()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement