Commit 2b983379 by BellCodeEditor

save project

parent 0e7c1976
Showing with 7 additions and 1 deletions
class Hero: class Hero:
def_init_(self): def __init__(self,name,hp,gj):
self.hp=hp self.hp=hp
self.gj=gj self.gj=gj
self.level=9 self.level=9
def sj():
yase.hp+=99899999999
yase.level+=2
yase.gj+=999999999999999999999999999999999999999999999
yase=Hero("亚瑟",2000,5500) yase=Hero("亚瑟",2000,5500)
houyi=Hero("后裔",2000,9999) houyi=Hero("后裔",2000,9999)
sj()
print((yase.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