Re: [Tutor] how can I append a iteration to a tow dimensional array

2009-09-19 Thread Mark Tolonen
"Rayon" wrote in message news:bay122ds664a5c474fbf157089866c3...@phx.gbl... how can I append a iteration to a tow dimensional array so that one value can be like a key in a dir. It's unclear what behavior you are looking for, but there are a number of errors in your code below. Describe wh

[Tutor] how can I append a iteration to a tow dimensional array

2009-09-19 Thread Rayon
how can I append a iteration to a tow dimensional array so that one value can be like a key in a dir. I can't use a directory because some of the values repeat and the dir throws them out. def getMark(record): for x in record.split(','): return str(x).strip() array = [] for x in