Commit 519ab639 by BellCodeEditor

auto save

parent 4102bc68
Showing with 8 additions and 19 deletions
def iii():
y.LV=y.LV+1
y.ABC+=4
y.HP+=50
class a: class a:
def __init__(self,HP,ABC,LV): def __init__(self,HP,ABC,LV):
self.HP=HP self.HP=HP
self.ABC=ABC self.ABC=ABC
self.LV=LV self.LV=LV
def iii(self):
self.LV=self.LV+1
self.ABC=self.ABC+4
self.HP=self.HP+50
y=a(300,20,1) y=a(300,20,1)
h=a(240,25,1) h=a(240,25,1)
iii() y.iii()
h.iii()
print(y.HP) print(y.HP)
print(h.HP) print(h.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