Commit 95a03152 by BellCodeEditor

save project

parent 502a2ebf
Showing with 15 additions and 6 deletions
......@@ -5,8 +5,17 @@ class Hero:
self.hp=hp
self.attack=attack
yase=Hero('yase',2,1)
hy=Hero('hy',300,2)
k=Hero('k',122,122)
print(yase.attack)
print(hy.attack)
print(k.attack)
\ No newline at end of file
def pppp():
yase.level=yase.level+0.5
yase.hp=yase.hp+0.01
yase.attack=yase.attack+0.00000000000000000000001
pppp()
pppp()
pppp()
pppp()
pppp()
pppp()
pppp()
print(yase.level)
print(yase.hp)
print(yase.attack)
\ 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