Commit 7e4055f7 by BellCodeEditor

save project

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