Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def filter_list(l):
- #'return a new list with the strings filtered out'
- return [ x for x in l if type(x) != str ]
- #This solution is what I was trying to do in "Pull INTEGERS"...took a second to arrive here!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement