Question: Question 1 ( 1 5 pts ) : Create a variable initial _ amount with the value 1 5 0 and another variable interest _
Question pts:
Create a variable initialamount with the value and another variable interestrate equal to After then, calculate the amount of money saved after years and store it in a variable called savings.
Round savings to the nearest integer. Store the result into a variable named mymoney. Hint: DataCamp introduced this as one of the builtin functions. You may want to look up the round function in the Python documentation
Print the type of the variable mymoney, and change the type to int if it is not.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
