Commit 9046f278 by BellCodeEditor

save project

parent 62a5be7d
Showing with 9 additions and 7 deletions
class Helo:
def
\ No newline at end of file
......@@ -7,6 +7,12 @@ class Hero:
yase=Hero("yase",300,20)
yase=Hero("houyi",250,23)
yase=k('k',5600,199)
print(yase.attack)
print(hy.attack)
print(k.attack)
\ No newline at end of file
def upgrade():
yase.level=yase.level+1
yase.hp=yase.hp+50
yase.attack=yase.attack+4
upgrade()
upgrade()
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