Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Dog:
- def __init__(self):
- print('Woof')
- # some stuff
- class Beagle(Dog):
- def __init__(self):
- super().__init__()
- print('Also I am a Beagle')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement