-1
I have a list of several tuples inside, and within tuples various elements. I need to scan all tuples on the list to capture an element that is inside each of these tuples. How can I do this?
The structure is below:
Created variable / Type:list / Size: 10 When opening the list: Contents: 0 / Type: Tuple / Size: 5 -> being: 2 Str and 3 Int
I want to capture one of the data type Int.
It helped, but what I need is to take only one of the elements of each tuple and add up tds.... There are several Tuples in which I need to capture 1 element of each...
– Darth Gaino
Can you follow from what I’ve shown or need help yet?
– Paulo Marques
I couldn’t do it, Paulo. I did one inside another for, but it’s iterating the first item inside Tupla (which is a Str), but I need it to return the fifth element of Tupla, which is an Int.
– Darth Gaino
Paulo, I got it now!!! I made a junction of what you answered and it worked!!! Thank you very much! I am new to the programming and this was my first post here and was solved thanks to your contribution!!! I really appreciate your help!!! Abs and success!
– Darth Gaino
Good @Darthgaino one step at a time
– Paulo Marques