PY Exponentiation challenge mistake, or did I misunderstand the challenge?
The given answer in the Python exponentiation challenge "0.01 * 2**30" tells us how much we would get on Day 31, since on Day 1 we get "0.01 * 2**0". Code follows: # your code goes here x = 0.01 n = 30 # on the 1st day we get $0.01 (=0.01*(2**0)), on the 2nd day we get $0.02 (=0.01*(2**1)), etc. #first two days combined equal 0.01*((2**2)-1) #using the given expresion (0.01)*(2**5) we are calculating how much we are getting on the 6th dsy #using the combined equation (2**5)-1 we see that we have accumulated ($0.31) on the 5th day #5th day accumulation = $0.01 + $0.02 + $0.04 + $0.08 + $0.16 = $0.31 print (x*(2**n)) #this is actually how much we would get on day 31, so the "correct" answer is wrong any way we look at it #print (x*((2**n)-1)) #this is how much we've accumulated on day 30