Commit 5ce9813f by BellCodeEditor

save project

parent 7479aaf0
Showing with 10 additions and 7 deletions
...@@ -5,11 +5,14 @@ class hore: ...@@ -5,11 +5,14 @@ class hore:
self.hp=hp self.hp=hp
self.attle=attle self.attle=attle
yase=hore("yase",50000,10000) yase=hore("yase",50000,10000)
print(yase.hp)
def :
yase.level+1
yase.hp+10000
yase.attle+5000
print(yase) def up():
\ No newline at end of file yase.level=yase.level+1
yase.hp=yase.hp+10000
yase.attle=yase.attle+5000
up()
up()
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