Commit 5bb50e9a by BellCodeEditor

save project

parent 26244d85
Showing with 3 additions and 1 deletions
......@@ -10,5 +10,7 @@ class Hero:
yase.hp=yase.hp+100
yase.attack=tase.attack+5
houyi
yase=Hero("eee",100,8)
yase.upgrade()
print(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