Commit 7c45c798 by BellCodeEditor

save project

parent d6c81a0f
Showing with 17 additions and 0 deletions
class a:
def __init__(s,n,h,a):
s.l=1
s.n=n
s.h=h
s.a=a
def u():
ys.l+=1
ys.h+=50
ys.a+=4
ys=a('ys',300,20)
print('ys',ys.h)
u()
u()
print('2级,ys',ys.h)
\ 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