Commit 2d63c24e by BellCodeEditor

save project

parent e838dd3b
Showing with 8 additions and 4 deletions
......@@ -4,6 +4,10 @@ class hero:
self.hp=hp
self.attack=attack
yase=hero('yase',300,20)
hy=hero('hy',250,23)
print(yase.attack)
print(hy.attack)
\ No newline at end of file
def asd():
yase.level=yase.level+1
yase.hp=yase.hp+50
yase.attack=yase.attack+4
asd()
asd()
print(yase.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