netlogo

How to convert string of numbers enclosed in parenthesis to a tuple by removing the double inverted comas?

How to convert string of numbers enclosed in parenthesis to a tuple by removing the double inverted comas? Question: I am new to python… I am using Python from Netlogo. I have an output that looks like this: ["(‘251′,’122′,’501’)", "(‘288′,’3′,’506’)", "(‘329′,’5′,’505’)", "(‘390′,’3′,’501’)", "(‘461′,’140′,’501’)"] I have been struggling to get rid of the double quotes… I …

Total answers: 2