Oneindige lus

Log in om je oplossingen te testen.
i = 0 totaal = 0 while totaal < 10: i = i + 1 totaal = 2 *totaal - 2 print( i, ":", totaal)