I have the following lis
of tuples after making a lot of reformating:
[[(('A', 'X'), ('43,23', 'Y'), ('wepowe', 'd'))]]
How can I reformat into:
'A', '43,23', 'wepowe'
I tried to:
[' '.join(map(str,lis[0][0])) for x in lis]
and
[' '.join(map(str,lis[0][:1])) for x in lis]
and
' '.join(map(str, lis))
However, I do not get the desired format. Which is the easist way of reformating tuples and lists like the above?.