Commit 7ea92773 by BellCodeEditor

save project

parent 020a37fd
Showing with 3 additions and 0 deletions
......@@ -5,4 +5,7 @@ class Heros:
self.attack = attack
self.name=name
ljt=Heros("林隽韬",-10000,100)
def updata():
ljt.hp+=1
updata()
print(ljt.name+"hp:"+ str(ljt.hp))
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