Commit 2caaa825 by BellCodeEditor

save project

parent 56f67175
Showing with 8 additions and 7 deletions
......@@ -8,9 +8,10 @@ class Cat:
def run(self):
print("小猫飞快的跑起来")
def skill():
??
role = Cat()
role.skill("老鼠")
\ No newline at end of file
class qq(Cat):
def __init__(self):
super().__init__()
self.skin="red"
p=qq()
print(p.skin)
print(p.head)
\ 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