I need to convert the string, '(2,3,4),(1,6,7)' to a list of tuples [(2,3,4),(1,6,7)] in Python. I thought to separate everything ',' and then use a for loop and add each tuple to an empty list. But I'm not quite sure how to do this. Hint, anyone?
source share