arrays

Marlin Rowley marlin_rowley at hotmail.com
Fri May 16 19:23:54 EDT 2008


All: Say I have an array: a = (['rrrrggggbbbbaaaa'],['rrrrggggbbbbaaaa']) How do I make it so that I now have: starting with first element (a[0])new_arr[0] = 'r'new_arr[1] = 'g'new_arr[2] = 'b'new_arr[3] = 'a'new_arr[4] = 'r'..... continuing "through" a[1] with the same new_arrnew_arr[N] = 'r'new_arr[N+1] = 'g'.... -M
_________________________________________________________________
Give to a good cause with every e-mail. Join the i’m Initiative from Microsoft.
http://im.live.com/Messenger/IM/Join/Default.aspx?souce=EML_WL_ GoodCause
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080516/68ac44d7/attachment.html>


More information about the Python-list mailing list