Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis0
Pyhton
You are offered a choice of either $1.000.000 or $0.01 (one penny) doubled every day for 30 days (the resulting amount is doubled every day)
1 Resposta
+ 2
Firstly it is mentioned that money be doubled in every 30 days. So multiply 2**30 then multiply it with given money which is 0.01.
Print ((0.01) *(2**30))