remove strings from a list that contains numbers in python,my_list = [item for item in my_list if item.isalpha()]