Posts by GigiNicaragua • 11 points
1 post
-
1
votes2
answers69
viewsA: Iterations in a tuple list
Code to do what you want: #declarar variaveis tuplo = (1,0,0,0) lista_de_10tuplos = [] #criar lista de 10 tuplos for i in range(0,10): lista_de_10tuplos += [tuplo,] print (lista_de_10tuplos)…