Commit bb80e76d by BellCodeEditor

auto save

parent 63e370f3
Showing with 10 additions and 9 deletions
class hfhg:
def __init__( self,name,hp,attack):
self.name=name
self.hp=hp
self.attack=attack
sb=hfhg("史蒂夫",444,5555)
print(sb)
class Hero:
def __init__(self,name):
self.level = 99999999999999999999999999999999
self.hp = 9999999999999999
self.attack = 999999999999999999
self.name = name
yase = Hero("ghg")
print(yase.name)
yase.hp=yase.hp=-50
\ 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