+ 1

How can I get link two tuples in python with the aim of getting result when one is called or queried.

Python code

30th Aug 2019, 10:42 PM
clint🦒
clint🦒 - avatar
2 Réponses
+ 5
May be something like this: x = [[(1,2),(3,4)],[(5,6),(7,8)]] for i in x: print(i) for j in i: print(j) # output: [(1, 2), (3, 4)] (1, 2) (3, 4) [(5, 6), (7, 8)] (5, 6) (7, 8)
31st Aug 2019, 6:07 AM
Lothar
Lothar - avatar
+ 1
Thanks man
31st Aug 2019, 6:45 AM
clint🦒
clint🦒 - avatar