Commit 47fa9aac by BellCodeEditor

save project

parent d6c81a0f
Showing with 18 additions and 0 deletions
class pumianxinxi():
def __init__(self,p,h,i):
self.wuliang=p
self.dingshu=h
self.suozaizhangjie=i
def zizhipu():
rrhar_il.wuliang+=100
spasmodic.dingshu+=1
igalla.suozaizhangjie+=0
spasmodic=pumianxinxi(1031,16,5)
igalla=pumianxinxi(1104,16,6)
rrhar_il=pumianxinxi(1300,16,7)
ge=zizhipu()
print("spasmodic的定数:",spasmodic.dingshu)
print("igalla的所在章节:",igalla.suozaizhangjie)
print("rrhar_il的物量:",rrhar_il.wuliang)
\ 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