As per my understanding the OP just want to see output as [Sues Badge,£1.70,3,13]
. If i'm right, then the below code will help.
Try this:
string = ('Sues Badge', '£1.70', '3', '13') # a tuple
str1 = ",".join(string) # converting tuple into a string
str1 = '[' + str1 + ']' # adds opening and closing square brackets to match your desired output.
print(str1)
Output:
[Sues Badge,£1.70,3,13]
If you were looking for an answer like this one. I have an alternative way. Check this:
string = ('Sues Badge', '£1.70', '3', '13') # a tuple
str1 = ",".join(string).split(',') # converting tuple into a string
print(str1)
Output:
['Sues Badge', '£1.70', '3', '13']