x = 10 iter = 0 while x > 0.04: x = x/2 iter +=1 print("Antall halveringer er", iter)