There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Notice that 1/(2*2*...*2) = (1/2)*(1/2)*...*(1/2); and each factor is just 0.5, which when all multiplied together is just a non-repeating decimal. Or, alternatively, as above, notice that:

1/(2*2*...*2) = (5*5*...*5)/(10*10*...10),