eri3l
2/6/2020 - 3:22 AM

code-snippets.py

def foo(lst):
    return [i for i in lst if not isinstance(i, str)]