I have this list in a list
a = [[\'1\',\'2\',\'3\',\'4\'],[\'1\',\'2\',\'3\',\'4\'],[\'1\',\'2\',\'3\',\'4\']]
but i need it to be ints , im
You can use a nested list comprehension like so:
a = [['1','2','3','4'],['1','2','3','4'],['1','2','3','4']] b = [ [int(j) for j in i] for i in a]