Commit e178189c by BellCodeEditor

save project

parent c3dfd45a
Showing with 15 additions and 2 deletions
...@@ -2,4 +2,18 @@ class Dog: ...@@ -2,4 +2,18 @@ class Dog:
self.foot = 4 self.foot = 4
self.eye = 2 self.eye = 2
self.head = 1 self.head = 1
self.ears = 2
\ No newline at end of file self.skin = 'white'
def run(self):
print('run')
class sb(Dog):
def __init__(self):
super().__init__()
self.skin = 'black'
coco = Husky()
print(coco.skin)
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