Commit 50d0b978 by BellCodeEditor

save project

parent c6fc9715
Showing with 7 additions and 5 deletions
def Level_Up(a):
a.Level+=1
a.HitPoint+=1
a.Attack+=1
a.Defense+=1
class sans():
def __init__(self,HP,AT,DF):
self.Level=1
self.HitPoint=HP
self.Attack=AT
self.Defense=DF
def Level_Up(a):
a.Level+=1
a.HitPoint+=1
a.Attack+=1
a.Defense+=1
def Check(a):
Sans=sans(1,1,1)
Level_Up(Sans)
print(Sans.Attack)
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