标签:sp for on bs nbsp python br ip print
for i,j in zip(range(10),range(10)):
i+=1
j+=1
或
>>> i=j=0
>>> while i<10 and j<10:
i+=1
j+=1
或
for (x,y) in zip(range(10),range(10)): print x,y
或
for (i,j) in [(x,x) for x in range(0,10)]: print str(i)+"="+str(j)
for(i=0,j=0;i<10,j<10;i++,j++)用python怎么写
标签:sp for on bs nbsp python br ip print
原文地址:http://my.oschina.net/u/855532/blog/352688