Advertisement
BrotherCrab

remove_from_list

Mar 23rd, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.11 KB | None | 0 0
  1. def remove_from_list (items, list_):
  2.     for i in items:
  3.         if i in list_:
  4.             list_.remove(i)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement