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

结果:
A banana
A apple
A orange
A tomato

字符成了空格?

 

 

 



相关文章: