- 3

Write a program to calculate the amount that will result from the doubling to understand which choice results in a larger amount

How can solve this question?

25th Mar 2021, 8:52 AM
Rasoul Karbalaee Shirifard
Rasoul Karbalaee Shirifard - avatar
3 Respuestas
0
Hi! Please, show us your attempt first.
25th Mar 2021, 9:07 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
0
a=0.01 b=2 print(int(a*(b**30)))
25th Mar 2021, 3:47 PM
Rasoul Karbalaee Shirifard
Rasoul Karbalaee Shirifard - avatar
0
I think a is one variable (str) and now I must convert it to (int) Thank
25th Mar 2021, 3:49 PM
Rasoul Karbalaee Shirifard
Rasoul Karbalaee Shirifard - avatar