L = [2, 3, 4] def produit_liste(L) : n = len(L) produit = 1 for i in range(n) : produit*= L[i] return(produit) resultat= produit_liste(L) print(resultat)
To embed this program on your website, copy the following code and paste it into your website's HTML: