Commit a0e00798 by BellCodeEditor

save project

parent 218dfbd4
Showing with 8 additions and 5 deletions
class Hero: class Hero:
def __init__(self): def __init__(self,name,Hp,attack):
self.Hp=6574567836426548657 self.name=name
self.level=232323232332 self.Hp=Hp
self.attack=48754657467677774444444444444444444444444444444444444444444444444444444444444444444444 self.attack=attack
yase=Hero() yase=Hero("yase",74574774474664,9999999999)
houyi=Hero("houyi",5656665,53453545354)
print(yase.Hp) print(yase.Hp)
print(houyi.Hp)
\ 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