I\'m working on python list and ran into a problem. I have a list of tuple.
oldlist= [(\'A\', 30), (\'B\', 20), (\'A\', 10), (\