Commit 8a8fe2e2 by BellCodeEditor

auto save

parent 70850cf8
Showing with 16 additions and 0 deletions
class hero():
def __init__(a,sg,tz,fx):
a.sg=sg
a.tz=tz
a.fx=fx
def jianfei(a):
a.tz=a.tz-1
a.sg=a.sg+0
xq=hero(150,120,"短发")
xm=hero(180,180,"长发")
#print(xq.fx)
#print(xm.fx)
xq.jianfei()
print(xq.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