Question

For this exercise using Python you will calculate college tuition increase. Current tuition per year averages...

For this exercise using Python you will calculate college tuition increase. Current tuition per year averages $25,000. Over the next 5 years tuition will increase 2.5%. Your application should loop through values during this period and provide a print similar to the following. Year 1: $25,000 Year 2: $25,625 Year 3: $26,276.63 Year 4: $26,933.54 Year 5: $27,606.88

Homework Answers

Answer #1

print(f" {variable} ") is used for formatting.

Last line of the code shows only 2 decimal points ie {:.2f}

{current_tut_fees:,} shows commas in currency

current_tut_fees=25000
percent_inc=2.5
for i in range(1,6):
    print(f"Year {i}:  ${current_tut_fees:,}")
    current_tut_fees+=current_tut_fees*2.5/100
    current_tut_fees=float("{:.2f}".format(current_tut_fees))
    

Output:-

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Financial Application: Compute Future Tuition: For current Nashua College students the tuition cost for 12 credits...
Financial Application: Compute Future Tuition: For current Nashua College students the tuition cost for 12 credits is $2112 per semester, with an additional Technology cost of $120 per semester. In addition, Health Insurance costs add an additional $1595 per semester.             “Scott” is 10 years old (in 2020), and he would like to attend Nashua Community College and major in IT when he turns 18, 8 years from now. If we assume annual costs will increase 5% per year into...
Assume the earth’s continents drift about 1.25 centimeters per year. Write a Python program/script using a...
Assume the earth’s continents drift about 1.25 centimeters per year. Write a Python program/script using a for-loop to display the total number of centimeters that the continents will have moved each year for the next 50 years. a. What tasks need to be repeated (write in words)? b. What is the start point of the loop and why? c. What is the end point of the loop and why? d. What is the start value for the initial drift and...
You are currently saving for your child's college education. The current cost of college is $10,000...
You are currently saving for your child's college education. The current cost of college is $10,000 a year. You expect that college costs will continue to increase at a rate of 5 percent a year. Your child is scheduled to begin attending a four-year college 10 years from now (i.e., college payments will be made at t=10, t=11, t=12, and t=13). You currently have $25,000 in an account which earns 6 percent after taxes. You would like to have all...
You are currently saving for your child's college education. The current cost of college is $10,000...
You are currently saving for your child's college education. The current cost of college is $10,000 a year. You expect that college costs will continue to increase at a rate of 5 percent a year. Your child is scheduled to begin attending a four-year college 10 years from now (i.e., college payments will be made at t=10, t=11, t=12, and t=13). You currently have $25,000 in an account which earns 6 percent after taxes. You would like to have all...
5. Assume the cost of college this year, and each of the next 3 years is...
5. Assume the cost of college this year, and each of the next 3 years is $5,000. Your opportunity cost in foregone earnings if you go is $22,000 each of these years. The benefits accrue over your lifetime, as an increase in earnings over the alternative of $30,000 a year for 40 years starting in year 4. Assume the interest rate is 5%. a. Calculate the present value of going to college. Should you go? Be sure to show your...
You should calculate your own Net Worth at least once per year, probably the last time...
You should calculate your own Net Worth at least once per year, probably the last time you did so was for a College Financial Aid application. What is the simplest way for you to increase your own Net Worth? How much do you think your Net Worth will change in the next year and why?
You want to provide spending money for your 4 year old during their college years. You...
You want to provide spending money for your 4 year old during their college years. You can afford to deposit $600/year for the next 4 years. You would like to give your child $4,000 per year for in their 18th, 19th, 20th, and 21st birthdays for a total of $16,000. Assuming 5% interest, what uniform annual investment will you have to make on the child's 8th through 17th birthdays to meet this goal? (Assume that at the end of the...
HIMT 345 Homework 06: Iteration Overview: Examine PyCharm’s “Introduction to Python” samples for Loops. Use PyCharm...
HIMT 345 Homework 06: Iteration Overview: Examine PyCharm’s “Introduction to Python” samples for Loops. Use PyCharm to work along with a worked exercise from Chapter 5. Use two different looping strategies for different purposes. Prior Task Completion: 1. Read Chapter 05. 2. View Chapter 05’s video notes. 3. As you view the video, work along with each code sample in PyCharm using the Ch 5 Iteration PPT Code Samples.zip. Important: Do not skip the process of following along with the...
Exercise 12-17 Crane Company incurred the following costs during the current year in connection with its...
Exercise 12-17 Crane Company incurred the following costs during the current year in connection with its research and development activities. Cost of equipment acquired that will have alternative uses in future R&D projects over the next 5 years (uses straight-line depreciation) $280,500 Materials consumed in R&D projects 55,100 Consulting fees paid to outsiders for R&D projects 111,000 Personnel costs of persons involved in R&D projects 131,500 Indirect costs reasonably allocable to R&D projects 45,100 Materials purchased for future R&D projects...
What is the Increase (Decrease) in Current Assets, Increase (Decrease) in Current Liabilities, and Increase (Decrease)...
What is the Increase (Decrease) in Current Assets, Increase (Decrease) in Current Liabilities, and Increase (Decrease) in Revenue? That Is all I need. Thank you. W & T Racket designs is the leading racquet company. They are known for their innovation of new technology for racquet sports. W & T is planning on implementing a new racquet into production to replace their old tour model racquet. The old model was very popular with most customers, but W & T wants...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT