Commit 3c0263fb by BellCodeEditor

save project

parent ddf8a52b
Showing with 5 additions and 2 deletions
...@@ -4,7 +4,9 @@ class Hero: ...@@ -4,7 +4,9 @@ class Hero:
serf.name=name serf.name=name
serf.hp=hp serf.hp=hp
serf.attack=attack serf.attack=attack
jikaimei=Hero("鸡开妹",0.1,0.00000000001) yase=Hero("垭瑟",300,20)
print(jikaimei.hp) hoyi=Hero("后羿",250,23)
zhuaizhuaixion=Hero("拽拽熊",0.01,0.0000000001) zhuaizhuaixion=Hero("拽拽熊",0.01,0.0000000001)
print(yase.hp)
print(hoyi.hp)
print(zhuaizhuaixion.hp) 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