Saturday, 26 January 2008

python workspace, a little bit global

a=100

def first():
b=a+1
c=a+2
return b,c

def second():
d=bb+11
e=cc+12
return d,e

class thirdC:
def fourth(self):
f=dd+101
g=ee+102
return f,g
def fifth():
h=ff+1001
i=gg+1002
(j,k)=second()
return h,i,j,k

if __name__=='__main__':
(bb,cc)=first()
(dd,ee)=second()
tc=thirdC()
(ff,gg)=tc.fourth()
(hh,ii,jj,kk)=fifth()

2 comments:

Omar Cruz said...

I like your article is fantastic, is really good written. Congratulation!!!. Do you want to see something more? Read it...Zeta Online, Great investment opportunity in Costa Rica: jaco bay. Visit us for more info at: http://www.zetaonline.com.

SEO said...

液压升降机,施工升降机,丝杆升降机,曲臂升降机,电动升降机

My photo
London, United Kingdom
twitter.com/zhengxin

Facebook & Twitter