Commit 00d8f3b7 by BellCodeEditor

save project

parent 110995a0
Showing with 2 additions and 1 deletions
...@@ -10,7 +10,7 @@ class Cat: ...@@ -10,7 +10,7 @@ class Cat:
print("小猫飞快的飞起来") print("小猫飞快的飞起来")
def skill(self,oo): def skill(self,oo):
print("老鼠抓住oo,猫成功死了") print("老鼠抓住"+oo+",猫成功死了")
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