Commit 927776d8 by BellCodeEditor

save project

parent d493d152
Showing with 4 additions and 4 deletions
...@@ -4,9 +4,9 @@ class Hero: ...@@ -4,9 +4,9 @@ class Hero:
self.name=name self.name=name
self.hp=hp self.hp=hp
self.attack=attack self.attack=attack
yase=Hero('yase',300,20) xiaoheizi=Hero('yase',300656666666666666666666666666666666666666666666,2090099999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999)
hy=Hero('hy',250,23) hy=Hero('hy',257872930707037,83883838383838388833333333333333333333838)
k=Hero('K',5600,199) k=Hero('K',5600777777,19977777799907654322123456890098764543224576899)
print(yase.attack) print(xiaoheizi.attack)
print(hy.attack) print(hy.attack)
print(k.attack) print(k.attack)
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