首页 > 代码库 > python练习-for range if bread

python练习-for range if bread

for i in range (1,6):
       print
       print
       print "i=", i,
       print "hello,how",
       if i==3:
            break
       print ‘are you today?‘
#当i=3的时候,程序会跳出


python练习-for range if bread