The elements of the list are integers and strings, I want to convert them to integers first, but the program ignores the command int(i) and outputs a list with the same elements as the first list.
lista = [2,3,4,'5','6','7']lista_2 = []for i in lista: int(i) lista_2.append(i)print(lista_2)