Commit a05dae49 by BellCodeEditor

save project

parent 7b37d60f
Showing with 8 additions and 0 deletions
...@@ -8,3 +8,11 @@ yese=Hero('亚瑟',300,20) ...@@ -8,3 +8,11 @@ yese=Hero('亚瑟',300,20)
hoyi=Hero('后羿',240,23) hoyi=Hero('后羿',240,23)
print(yese.hp) print(yese.hp)
print(hoyi.hp) print(hoyi.hp)
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