Question: 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.

Answer: 
I *imagine* (the question isn't very clear as noted in the comments) you are looking for:

```
print ",".join(list1)

```

Produces:

```
field1,field2,field3

```

> 
> So how can i remove only the brackets from the list without modifying
>  the strings.
> 
> 
> 

The variable `list1` is a list and the `[]` brackets are included when a list is rendered as a String. You can provide your own string representation as you have here using `join`. If you really want to product a string output with the quotes around the strings you could do:

```
print "'" + "','".join(list1) + "'"

```
most of the previous answers would work, but perhaps the most simplest one is using a for loop:

```
mylist = ['1','2','3','4']

print('list=',end='')
for myvar in mylist:
    print(myvar,end='')

print('')

```

output:

```
list=1234

```

however, this will only work in python 3.4, since you have to use the print function and cannot use a print statement