Список фильтров Python Int и Strings
def filter_list(l):
'return a new list with the strings filtered out'
return [i for i in l if not isinstance(i, str)]
Tartaud
def filter_list(l):
'return a new list with the strings filtered out'
return [i for i in l if not isinstance(i, str)]