Exponential | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 4


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). Write a program to calculate the amount that will result from the doubling to understand which choice results in a larger amount. https://code.sololearn.com/WLmV3pUF6loH/?ref=app

17th Nov 2021, 1:37 PM
Brian - avatar
1 Answer
+ 1
Brian you linked the wrong code. Please correct it. Also use relevant tags and list the language (Python). If you are having trouble understanding how to solve the problem, then be sure to read the hint given at the bottom of the description page. To get the answer you need only to substitute one number in the hint.
17th Nov 2021, 4:31 PM
Brian - avatar