python print

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

结果:
A banana
A apple
A orange
A tomato

字符成了空格?



原文地址:https://www.cnblogs.com/luolizhi/p/5048252.html