Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Clothing():
- def wear(self):
- return "I,m wearimg this fashionable piece of clothing!"
- def sell(self):
- return"Buy my piece of clothing!"
- class Socks(Clothing):
- def lose_one(self):
- return "Where did my other one go?"
- def wear(self):
- return "Take a look at my socks! They're gorgeous!"
- def sell(self):
- return"Buy my socks!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement