acesing data from a touple.

This is the place for queries that don't fit in any of the other categories.

acesing data from a touple.

Postby whitepython » Fri Mar 29, 2013 9:34 am

I am trying to access data from a very long tuples and it has a tuple inside:
Code: Select all
(36, (38, 67, 73)), (1, (113, 190, 138)), (3, (39, 67, 89)), (3, (41, 71, 63)), (29, (45, 67, 81)), (13, (44, 67, 81)), (9, (58, 100, 114)), (1, (213, 175, 188)), (2, (65, 95, 145)), (1, (66, 95, 113)), (4, (67, 95, 145)), (76, (15, 22, 32)), (44, (14, 22, 24)), (1, (91, 159, 136)), (13, (42, 67, 97)), (1, (61, 67, 81)), (83, (48, 67, 81)), (2, (49, 67, 105)), (33, (31, 55, 57)), (2, (63, 124, 109)), (1, (67, 147, 120)), (11, (56, 124, 85)), (84, (19, 23, 32)), (1, (13, 23, 32)), (24, (14, 23, 32)), (5, (20, 23, 32)), (1, (74, 74, 84)), (2, (91, 120, 136)), (1, (61, 137, 90))

How do I get to it so I can plot it? I know to work with columns and arrays, not sure about this.
Thanks
whitepython
 
Posts: 1
Joined: Fri Mar 29, 2013 9:28 am

Re: acesing data from a touple.

Postby metulburr » Fri Mar 29, 2013 9:42 am

New Users, Read This
OS Ubuntu 14.04, Arch Linux, Gentoo, Windows 7/8
https://github.com/metulburr
steam
User avatar
metulburr
 
Posts: 1299
Joined: Thu Feb 07, 2013 4:47 pm
Location: Elmira, NY


Return to General Coding Help

Who is online

Users browsing this forum: Google [Bot] and 6 guests

cron