Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from User import *
- class Student(User):
- def __init__(self, id, name, lastname, login, password):
- super().__init__(name, lastname, login, password)
- self.issued_books = []
- self.id = id
- def welcome(self):
- print("Welcome {} {}, right now you have {} issued books.".format(self.name, self.lastname, len(self.issued_books)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement