diff options
Diffstat (limited to 'progs/a622.py')
-rw-r--r-- | progs/a622.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/progs/a622.py b/progs/a622.py new file mode 100644 index 0000000..fa80778 --- /dev/null +++ b/progs/a622.py @@ -0,0 +1,4 @@ +def maximize_elements(test_tup1, test_tup2):
+ res = tuple(tuple(max(a, b) for a, b in zip(tup1, tup2))
+ for tup1, tup2 in zip(test_tup1, test_tup2))
+ return (res)
\ No newline at end of file |