0

I need a fast way to print a list instead of it taking ages to print my sometimes over 100000 long list with

print "[%s]" % ", ".join(map(str, primes))

or

str(primes).strip('[]')

i need something faster, any idea. Also the list contains 100% integers

0 Answers0