Commit 5066b911 by BellCodeEditor

save project

parent 4b4e0f1d
Showing with 0 additions and 6 deletions
...@@ -4,9 +4,4 @@ class hero: ...@@ -4,9 +4,4 @@ class hero:
self.hp=hp self.hp=hp
self.at=at self.at=at
yase=hero(2,3,4) yase=hero(2,3,4)
def ij():
yase.lv=yase.lv+1
yase.hp=yase.hp+50
yase.at=yase.at+5
ij()
print(yase.lv) print(yase.lv)
\ 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