python print

fruits = ['banana', 'apple', 'orange', 'tomato']
for f in fruits:
    print 'A', f

结果:
A banana
A apple
A orange
A tomato

字符成了空格?

 

 

 



posted on 2015-12-15 14:36  IT小不点  阅读(152)  评论(0编辑  收藏  举报