I have a list:
list1 = ['field1','field2','field3']
i have used different methods but i is of no help.
list1= ( " ".join( repr(e) for e in list1) )
but it is printing each character in the string as seperate word like
"f","i","e","l","d".
But i want the output like:
list1='field1','field2','field3'
So how can i remove only the brackets from the list without modifying the strings.
" ".join(list1)?'field1' 'field2' 'field3'for me