#coding:utf8 infoList = ['nan','shuai','qian'] for x in infoList: if x == 'shuai': print 'with first' elif x == 'qian': print 'with second' elif x == 'nan': print 'with ugly' else: print 'go out'
#coding:utf8 for x in range(1,10): for y in xrange(1,10): print x,y, x*y
for i in range(10): if i == 2:continue if i == 10: break if i == 4: pass print i