diff options
Diffstat (limited to 'progs/a125.py')
-rw-r--r-- | progs/a125.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/progs/a125.py b/progs/a125.py new file mode 100644 index 0000000..bd61056 --- /dev/null +++ b/progs/a125.py @@ -0,0 +1,3 @@ +def multiply_elements(test_tup):
+ res = tuple(i * j for i, j in zip(test_tup, test_tup[1:]))
+ return (res)
\ No newline at end of file |