I am facing a small problem in python which I am not able to solve quickly.
How to convert a = ['(100,9),(200,10)']
(list of tupled strings) to a = [(100,9),(200,10)]
(list of tuples)
I tried:
- [tuple(word) for word in a]
- a.strip("'")
- a.replace("'", " ")
None of above mentioned solutions are working for me.