Commit a121300c by BellCodeEditor

save project

parent a6f49cd6
Showing with 7 additions and 0 deletions
......@@ -11,3 +11,9 @@ anqila=hero('anqila',5000,1)
print(anqila.hp)
print(a.hp)
print(q.hp)
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