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