Using the python program, calculating the amount that will result from the doubling to understand which choice results in a larger amount is given below
for num in range(30,31):
if num==30:
print(0.01*(2**num))
else:
print(0.01*(2**num),end=' ')
What is a range() function?
The range() function returns a series of numbers that, by default, starts at 0 and increments by 1 before stopping before a given number.
What is python programming?
A high-level, all-purpose programming language is Python. Code readability is prioritised in its design philosophy, which heavily uses indentation.
Steps for the Program:
Using the For loop and assigning a range of variables 30,31
Then if...else is used to print the largest amount if the num=30
If the if statement fails then it will print the else statement
Therefore the program to calculates the amount that will result from the doubling to understand which choice results in a larger amount being given.
To learn more about the python programming from the given link
https://brainly.com/question/26497128
#SPJ4