Advertisement
STANAANDREY

mod sub 2

Jan 18th, 2023
1,058
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.11 KB | None | 0 0
  1. def listInter(lst1, lst2):
  2.     return set(lst1).intersection(lst2)
  3.  
  4. print(listInter([1, 7, 8, 10], [3, 4, 7, 8]))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement