Commit 97a406e8 by BellCodeEditor

save project

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