Commit 77a25af3 by BellCodeEditor

save project

parent 22354288
Showing with 16 additions and 0 deletions
class hero:
def __init__(a,sg,tz):
a.sg=sg
a.tz=tz
def jianfei(a):
a.tz=a.tz-0.00000000000000001
a.sg=a.sg-0.000000000000000000000000001
lck=hero(158,93)
hhj=hero(163,103)
print(lck.sg)
print(hhj.sg)
lck.jianfei()
print(lck.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