if list contains integer values, error will occur. therefore first need to convert them all into string example int_arr = range[10] convert_first_to_generator = (str(w) for w in int_arr) print ''.join(convert_first_to_generator)
<code>
<blockcode>
<foo>
[foo]
More information about formatting options
if list contains integer
if list contains integer values, error will occur. therefore first need to convert them all into string
example
int_arr = range[10]
convert_first_to_generator = (str(w) for w in int_arr)
print ''.join(convert_first_to_generator)