Commit 6b795ec9 by BellCodeEditor

save project

parent 3a42ba94
Showing with 5 additions and 4 deletions
......@@ -11,9 +11,10 @@ houyi=Hero("后羿",250,23)
print("后羿的血量:",houyi.hp)
def q()
def qwert():
yase.level=yase.level+1
yase.hp=yase.hp+50
yase.attack=yase.attack+4
q()
q()
\ No newline at end of file
qwert()
qwert()
print("亚瑟的等级:",yase.level)
\ 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