Respuesta :
Answer:
Explanation:
We can use for-loop in python to calculate the tuition amount in the next 5 years. If the tuition is increasing 3% each year, in each loop we can multiply the amount by 1.03
tuition = 8000
for year in range(1,6):
tuition *= 1.03
print("The tuition amount after " + str(year) + " year(s) is $" + str(tuition))
In this exercise we have to use the knowledge of computational language in python to write the following code:
The code can be found in the attached image.
That way, to find it more easily we have the code like:
tuition = 8000
for year in range(1,6):
tuition *= 1.03
print("The tuition amount after " + str(year) + " year(s) is $" + str(tuition))
See more about python at brainly.com/question/26104476
![Ver imagen lhmarianateixeira](https://us-static.z-dn.net/files/d7f/4627f70b5ef6ff709031d113baef60c2.png)