Commit 584d7861 by BellCodeEditor

save project

parent 2c82b010
Showing with 9 additions and 4 deletions
class hero(): class hero():
def __init__(self,N,H,A): def __init__(self,N,H,A):
L = 1 self.L = 1
self.N = N self.N = N
self.H = H self.H = H
self.A = A self.A = A
YS = hero('YS',400,200)
HY = hero(HY,300,300) def UP():
YS = hero(YS,400,200) YS.L = YS.L + 1
YS.A = YS.A + 150
YS.H = YS.H + 100
UP()
UP()
\ 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