Commit bc842042 by BellCodeEditor

save project

parent b5f2e8f4
Showing with 3 additions and 3 deletions
...@@ -5,5 +5,5 @@ class Hero: ...@@ -5,5 +5,5 @@ class Hero:
self.attack= 20 self.attack= 20
yase = Hero() yase = Hero()
print() print("yase的血量为:"yase.hp)
print() print("yase的攻击力为:"yase.hp)
\ 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