I need to convert a string, '(2,3,4),(1,6,7)' into a list of tuples [(2,3,4),(1,6,7)] in Python.
I was thinking to split up at every ',' and then use a for loop and append each tuple to an empty list. But I am not quite sure how to do it.
A hint, anyone?