0

Understanding Python Code Coach

The Exponentiation code coach isn't clear on what the objective is. I tried printing a user input but it comes out as "no input". Not sure where to go from here.

6th Feb 2021, 7:45 PM
MyNameIsMutable
MyNameIsMutable - avatar
4 Respuestas
+ 1
I got you bro. That codecoach problem doesn't need any input. The problem says "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)." you have to print the resulting amount after 30 days. One penny doubled everyday . print(0.01* (2**30)) That will solve the problem.
6th Feb 2021, 8:09 PM
CHANDAN ROY
CHANDAN ROY - avatar
+ 1
CHANDAN ROY I appreciate it. You have given me another way to look at the questions/specifications.
7th Feb 2021, 8:22 PM
MyNameIsMutable
MyNameIsMutable - avatar
0
MyNameIsMutable can you give a link to which codecoach problem you are referring to
6th Feb 2021, 7:49 PM
CHANDAN ROY
CHANDAN ROY - avatar
0
CHANDAN ROY I would love to but it's an End Of Module code coach. There's no share button to get the link
6th Feb 2021, 7:59 PM
MyNameIsMutable
MyNameIsMutable - avatar