How can i utilize the second part of a list in Python?
For example, the list contains a string and integer:
('helloWorld', 20)
('byeWorld', 10)
('helloagainWorld', 100)
I wish to create an if statement on the second part (integer) of the list, preferably without creating a new list to store the integers. Is this possible?
just use index