I have a list of tuples that look like this;
ListTuples = [(100, 'AAA'), (80, 'BBB'), (20, 'CCC'), (40, 'DDD')]
I want to remove the tuples when the first element of the tuple is less than 50. The OutputList will look like this;
OutputList = [(100, 'AAA'), (80, 'BBB')]
How can this be done in python?
Thank you very much for your help.