mixed_list = ['123', '456', '789', 'abc', 'def', '22s', '789'] my_new_list = [int(x) for x in mixed_list if x.isdigit()][::]