Commit f3f5635b by BellCodeEditor

save project

parent ec435a5f
Showing with 9 additions and 5 deletions
class Haa: class Haa:
def __init__(s): def __init__(s,level,name,hp,attenck):
s.hp=1 s.level=level
s.level=100000000000000 s.name=name
s.attenck=100000000000000000000000000000000000000 s.hp=hp
yase=Haa() s.attenck=attenck
yase=Haa(1,"亚瑟",999999999999999999999999999999999999999999999999999,1)
houyi=Haa(1,"后羿",1,999999999999999999999999999999999999999999999999999)
print(yase.hp) print(yase.hp)
print(houyi.attenck)
\ 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