diff options
Diffstat (limited to 'progs/a784.py')
-rw-r--r-- | progs/a784.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/progs/a784.py b/progs/a784.py new file mode 100644 index 0000000..73045af --- /dev/null +++ b/progs/a784.py @@ -0,0 +1,5 @@ +def concatenate_tuple(test_tup):
+ delim = "-"
+ res = ''.join([str(ele) + delim for ele in test_tup])
+ res = res[ : len(res) - len(delim)]
+ return (str(res))
\ No newline at end of file |