Commit 845217d6 by BellCodeEditor

save project

parent 4150d846
Showing with 6 additions and 6 deletions
......@@ -101,9 +101,8 @@ def upgrade():
yase.level=yase.level+1
yase.hp=yase.hp+50
yase.attack=yase.attack+4
yase=hero()
print()
upgrade()
upgrade()
print()
houyi=hero(sfd,240,23)
houyi.upgrade()
print("csdvd",houyi.level)
print("vcvd",houyi.hp)
print("sfs",houyi.attack)
\ 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