diff options
Diffstat (limited to 'progs/a965.py')
-rw-r--r-- | progs/a965.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/progs/a965.py b/progs/a965.py new file mode 100644 index 0000000..7c79c26 --- /dev/null +++ b/progs/a965.py @@ -0,0 +1,3 @@ +def similar_elements(test_tup1, test_tup2):
+ res = tuple(set(test_tup1) & set(test_tup2))
+ return (res)
\ No newline at end of file |