I have a tuple of tuples:
COUNTRIES = (
('AFG', 'Afghanistan'),
('ALA', 'Aland Islands'),
('ALB', 'Albania'),
('DZA', 'Algeria'),
('ASM', 'American Samoa')
)
I tried:
if country in COUNTRIES[0]
and didn't worked - I understand why;
Besides looping over the main tuple and check one by one, there is something similar to 'in' ?