Commit a05dae49 by BellCodeEditor

save project

parent 7b37d60f
Showing with 9 additions and 2 deletions
...@@ -7,4 +7,12 @@ class Hero: ...@@ -7,4 +7,12 @@ class Hero:
yese=Hero('亚瑟',300,20) yese=Hero('亚瑟',300,20)
hoyi=Hero('后羿',240,23) hoyi=Hero('后羿',240,23)
print(yese.hp) print(yese.hp)
print(hoyi.hp) print(hoyi.hp)
\ No newline at end of file def a():
yese.level=level+1
yese.hp=hp+57
yese.attack=attack+33333333333333333333333333333333333333333333333
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