Commit b009901b by BellCodeEditor

save project

parent d29fe417
Showing with 1 additions and 1 deletions
......@@ -5,7 +5,7 @@ class Animal:
return"egvf3gfejrg :{O}".format(self.name)
def move(self):
print('run run run')
class Cat(Animal)
class Cat(Animal):
def __init__(self,name,age):
super().__init__(name)
self.age = age
......
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