Commit 4b301708 by BellCodeEditor

save project

parent b3337899
Showing with 6 additions and 8 deletions
......@@ -4,13 +4,11 @@ class Hero:
self.hp=hp
self.st=st
self.name=name
def xxs(self):
self.lv=self.lv+1
self.hp=self.hp+999*0.898
self.st=self.st+0.999*-0.999
sb=Hero(1,"卢本伟",99999,999)
def xxs():
sb.lv=sb.lv+1
sb.hp=sb.hp+999
sb.st=sb.st+999
xxs()
xxs()
xxs()
print(sb.lv)
print(sb.st)
print(sb.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