how to display the o/p with tab spaces..i need the o/p in the following formatas 1234567.each of these no are stored in an array.how to print it in this format.
If you want tabs, useprint '\t'.join([str(x) for x in my_array])For spaces, usefor i in my_array: print i,Make sure to include final comma.
With no spacing:print ''.join([str(x) for x in my_array])