Commit a121300c by BellCodeEditor

save project

parent a6f49cd6
Showing with 8 additions and 2 deletions
...@@ -10,4 +10,10 @@ q=hero('q',1,5000) ...@@ -10,4 +10,10 @@ q=hero('q',1,5000)
anqila=hero('anqila',5000,1) anqila=hero('anqila',5000,1)
print(anqila.hp) print(anqila.hp)
print(a.hp) print(a.hp)
print(q.hp) print(q.hp)
\ No newline at end of file def upgrade():
anqila.level=anqila.level+1
anqila.hp=anqila.hp+50
upgrade()
upgrade()
print(anqila.hp)
\ 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