For example I have this tuple:
(('Samsung J1',), ('Cloudfone Thrill Boost',))
I want to convert it to a string so it will look like this:
Samsung J1
Cloudfone Thrill Boost
I tried doing:
''.join(variablenamefortuple)
and it did not work just then I realized that it is a list of tuples so I tried mykhal's answer here: Python - convert list of tuples to string
But the strip function only removes from the ends so the output will be like this:
'Samsung J1',), ('Cloudfone Thrill Boost',
How do I remove the extra parentheses as well as the commas and quotation marks? Thanks:)