When I use the code in python 2.7.5
for i in [1,2]: print 'distance',':400@CA',':',i,'@CA' I got the following
distance :400@CA : 1 @CA distance :400@CA : 2 @CA I want to remove the space (eg., among :,1,@CA) so that the output will be like
distance :400@CA :1@CA distance :400@CA :2@CA I also tried using sep='' or end='' but still they don't work. Any suggestion will be appreciated.