0
I'm a Python beginner
I have the following array of unique tuples I'm playing with:
array = [(1, 2), (1, 7), (1, 5), (2, 5), (2, 7), (2, 9), (3, 4), (3, 5), (4, 5), (4, 7), (5, 8), (6, 7), (8, 9)]
I want to find the index of a given tuple (u, v) in this array. I wrote the following line which I ...