Commit 6f7bfb5c by BellCodeEditor

auto save

parent 20e354e8
Showing with 10 additions and 0 deletions
class Pet:
def __init__(self):
self.age=11
self.weight=20
self.colour="blue"
class cat(Pet):
def__init__(self):
super().__init__()
colour="yellow"
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment