Commit 7e4055f7 by BellCodeEditor

save project

parent 27b9b68d
Showing with 7 additions and 6 deletions
class hero:
def __init__(a):
a.sg=250
a.tz=250
csh=hero()
def __init__(a,sg,tz,fx):
a.sg=sg
a.tz=tz
a.fx=fx
csh=hero(250,250,"短发")
lck=hero(250,250,"长发")
print(csh.sg)
print(csh.tz)
\ No newline at end of file
print(csh.tz)
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