Commit 718cadeb by BellCodeEditor

save project

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