I have a list of strings in this format:
[\'5,6,7\', \'8,9,10\']
I would like to convert this into the format:
[(5,6,7), (8
If your strings are strings representation of number, then:
[tuple(int(s) for s in i.split(',')) for i in k]