Skip to content

Instantly share code, notes, and snippets.

@charlieInDen
Created October 22, 2020 19:31
Show Gist options
  • Save charlieInDen/8c8271f2c7c118fb38c70ca1b255d0ee to your computer and use it in GitHub Desktop.
Save charlieInDen/8c8271f2c7c118fb38c70ca1b255d0ee to your computer and use it in GitHub Desktop.
filter_list
def filter_list(l):
new_list =[]
for x in l:
if type(x) != str:
new_list.append(x)
return new_list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment