Commit 9ecb90df by BellCodeEditor

save project

parent 7d214e70
Showing with 8 additions and 4 deletions
class Hero:
def __init__(serf):
def __init__(serf,name,hp,attack):
serf.level=1
serf.hp=100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
serf.attack=12345678910111213141516171819202122232425262728292133456789098123456789012345678901234567892345678934567812345678213456789234567
jikaimei=Hero()
serf.name=name
serf.hp=hp
serf.attack=attack
jikaimei=Hero("鸡开妹",0.1,0.00000000001)
print(jikaimei.hp)
zhuaizhuaixion=Hero("拽拽熊",0.01,0.0000000001)
print(zhuaizhuaixion.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