Commit a55cbe01 by BellCodeEditor

save project

parent 1783b8ed
Showing with 2 additions and 0 deletions
...@@ -3,3 +3,5 @@ class Hero: ...@@ -3,3 +3,5 @@ class Hero:
yase.level=1 yase.level=1
yase.hp=300 yase.hp=300
yase.attack=20 yase.attack=20
yase=Hero()
print("血量是"+str(yase.hp))
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