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.
4 Antworten
+ 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.
+ 1
CHANDAN ROY I appreciate it. You have given me another way to look at the questions/specifications.
0
MyNameIsMutable can you give a link to which codecoach problem you are referring to
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