Commit 32a1c997 by BellCodeEditor

save project

parent ac795495
Showing with 17 additions and 1 deletions
...@@ -10,7 +10,22 @@ class Cat: ...@@ -10,7 +10,22 @@ class Cat:
print("小猫飞快的跑起来") print("小猫飞快的跑起来")
def skill(): def skill():
?? print("小猫把老鼠咬死")
class mouse:
def __init__(erme):
erme.footNum=4
erme.eyeNum=2
erme.head=1
erme.ereNum=2
self.skin="white"
def run(erme):
print("老鼠立刻躲起来")
def skill():
print("老鼠挥舞着爪子")
role = Cat() role = Cat()
role.skill("老鼠") role.skill("老鼠")
\ 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