How to print without spaces?

Wolfgang Rohdewald wolfgang at rohdewald.de
Fri Sep 18 22:31:30 CEST 2009


On Friday 18 September 2009, koranthala wrote:
> What if I want to print 1 to 100 in a loop without spaces in
>  between? I think that is the OPs question.

arr = ['a', 'b', 'c', 'andsoon']
print ''.join(arr)

-- 
Wolfgang



More information about the Python-list mailing list