0
Write a program to calculate the amount that will result from the doubling to understand which choice results in a larger amount
Use the print() statement for the output. It's my code project. Pls suggest me anyone
7 odpowiedzi
+ 3
You need to perform Maths operation.
Please play with these examples a bit.
https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2271/
There is a Hint explaining how to get value using exponential.
If you don't use ** operator, manually multiplying the numbers by 30 times is ok too.
+ 2
This is question body,
which sentence do you not understand?
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).
Task:
Write a program to calculate the amount that will result from the doubling to understand which choice results in a larger amount.
+ 1
On day 1 you have 2**1 = 2 cents
On day 2 you have 2**2 = 4 cents
On day 3 you have 2**3 = 8 cents
How many do you have on day 30?
Is that more than $1,000,000.00?
0
Soumik
I can't understand that question so i can't do it
0
Yes yes this task
0
This question i can't understand, pls tell me how to perform this question
0
Yaah now i understood.
It will come 2**30 =1073741824
But i performed this in code project,there showing No input. What input i will put there