Advertisement
dprincef

Untitled

Feb 22nd, 2020
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.15 KB | None | 0 0
  1. def destroy_element(string,list):
  2.     print(for i in string if string not in list)
  3. string = [1,2,3,4]
  4. list = [5,1,2,4]
  5. destroy_element(string,list)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement