[Python-Dev] array matching (original) (raw)
Bill Jordan billjordan121 at yahoo.com
Thu Apr 29 19:58:15 CEST 2010
- Previous message: [Python-Dev] Frequency of the dev docs autobuild
- Next message: [Python-Dev] array matching
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hey guys,
I am sorry if this is not the right list to post some questions. I have a simple question please and would appreciate some answers as I am new to Python.
I have 2 D array: test = [[A,1],[B,2],[A,3][B,4]] I want to arrang this array in different arrays so each one will have what is attached to. For example I want the output:
A =[1,3] and B=[2,4]
Thanks, Bill
-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20100429/8066b838/attachment-0001.html>
- Previous message: [Python-Dev] Frequency of the dev docs autobuild
- Next message: [Python-Dev] array matching
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]