Commit 38cc8bfc by BellCodeEditor

save project

parent bb1499f7
Showing with 8 additions and 0 deletions
...@@ -6,4 +6,11 @@ class hearo: ...@@ -6,4 +6,11 @@ class hearo:
a.attack=attack a.attack=attack
yase=hearo("yase",300,20) yase=hearo("yase",300,20)
hy=hearo("hy",250,23) hy=hearo("hy",250,23)
def w():
hy.level=hy.level+1
hy.hp=hy.hp+50
hy.attack=hy.attack+4
hy=hearo("hy",250,23)
w()
w()
print(hy.hp) print(hy.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