summaryrefslogtreecommitdiff
path: root/progs/a965.py
blob: 7c79c26b0070954baac0ed26c019cfd4a13d6a89 (plain)
1
2
3
def similar_elements(test_tup1, test_tup2):
  res = tuple(set(test_tup1) & set(test_tup2))
  return (res)