def f(n): i = 2 while i < n : i *= i
My solution : So what I did was I looked at the sum of the i *= i and I found out
i *= i