Oneindige lus

Sign in to test your solution.
i = 0 totaal = 0 while totaal < 10: i = i + 1 totaal = 2 *totaal - 2 print( i, ":", totaal)