>>> mylis = ['this is test', 'another test'] >>> [item.upper() for item in mylis] ['THIS IS TEST', 'ANOTHER TEST']