Mapping a nested list with List Comprehension in Python?,nested_list = [[s.upper() for s in xs] for xs in nested_list]