Commit c9389f8e by BellCodeEditor

save project

parent c8a106ab
Showing with 11 additions and 8 deletions
class aa:
def __init__(a):
a.hp=1
a.att=1
a.det=1
a.con=1
mk=aa()
print(mk.con)
class c:
def __init__(a,name,hp,att,det,con):
a.name=name
a.hp=hp
a.att=att
a.det=det
a.con=con
mk=c("mk",100,50,100,50)
flkl=c("flkl",100,100,50,50)
print(flkl.hp)
print(mk.hp)
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