Commit f0d3b47c by BellCodeEditor

save project

parent 17150de8
Showing with 4 additions and 0 deletions
......@@ -5,4 +5,8 @@ class Heros:
self.attack=attack
self.name=name
wukong=Heros(“悟空” ,36,7777777999999)
def updata():
wukong.hp +=65
updata()
print( wukong.name+"的hp:"+str(wukong.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