numeri = [15, 20, 35, 40, 55, 60, 75, 80] valori = numeri[1::2] totale = 0 for i in range(len(valori)): totale += valori[i] // 10 print ('Risultato:', totale)
To embed this project on your website, copy the following code and paste it into your website's HTML: