Commit c58359cc by BellCodeEditor

save project

parent 01041444
Showing with 3 additions and 3 deletions
...@@ -10,10 +10,10 @@ class Cat: ...@@ -10,10 +10,10 @@ class Cat:
print("小猫飞快的跑起来") print("小猫飞快的跑起来")
def skill(self,mouse): def skill(self,mouse):
info=self.skin+"猫杀死了"+mouse info=self.skin+"猫杀死了"+"猫屎"
print(info) print(info)
role = Cat() role = Cat()
role.skill("mouse") role.skill("猫屎")
\ No newline at end of file \ 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