I have a tuple of characters like such:
(\'a\', \'b\', \'c\', \'d\', \'g\', \'x\', \'r\', \'e\')
How do I convert it to a string so that it
This works:
''.join(('a', 'b', 'c', 'd', 'g', 'x', 'r', 'e'))
It will produce:
'abcdgxre'
You can also use a delimiter like a comma to produce:
'a,b,c,d,g,x,r,e'
By using:
','.join(('a', 'b', 'c', 'd', 'g', 'x', 'r', 'e'))