Q:

Python , remove a ' ' from a string in an array

I have a result data which is in this format result: ['hellloworld@gmail.com'] , how we can remove the ' ' from the string ? 
desired result
[hellloworld@gmail.com]

A:

If you have the string 
a = “[‘helloworld@gmail.com’]”

Try this:
a.replace(“‘“, “”)

More likely, you’re printing a list with a string in it.  You’ll want to coerce it to a string first, then replace the quotes. 