If I have a list such as the following:
[(10, 20), (50, 60), (100, 110)]
How could I make this look like this:
'10-20,50-60,100-110'
if the number of pairs in my list is variable?
I am sorry for such an easy question. But every thing I have tried such as replacing the ',' with a '-' has failed. Any ideas?