Commit c91ff335 by BellCodeEditor

auto save

parent 22354288
Showing with 16 additions and 0 deletions
class l:
def __init__(self,dj,xl,sh):
self.dj=dj
self.xl=xl
self.sh=sh
asd=l(1,9999,9999)
fgh=l(1,9,9)
def shuxing(self):
self.dj=self.dj+1
self.xl=self.xl+100
self.sh=self.sh+20
shuxing(asd)
shuxing(fgh)
print(asd.xl)
print(asd.sh)
\ 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