Question: Create a function in Python called GetTuition that will determine how much tuition will increase over a 1 0 year period. The function needs to

Create a function in Python called GetTuition that will determine how much
tuition will increase over a 10 year period. The function needs to take in to it the
rate of increase and return the last tuition amount calculated. Within the
function you will use $100 a credit hour as a starting point. You can assume the
user will be taking 12 credits.
For example, if the rate of increase is 5%, after 10 years of increase the final
tuition amount would be:
The funtion therefore, would return 1861.59 back to where it was called.
Some hints to solving this. It is best to use a loop to do your math. Remember
computers are good at doing math and like to do repetitive tasks. Also you will
want to round your cost to 2 decimal places. Use the ROUND function as
discussed in the Total Price problem. Round your tuition value BEFORE you
return it back to where it was called. This is important in order to avoid rounding
errors.
 Create a function in Python called GetTuition that will determine how

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!