Question: write a Python program that helps a graduate students calculate their tuition for the semester. The program should ask how many credit hours the student

 write a Python program that helps a graduate students calculate their tuition for the semester. The program should ask how many credit hours the student is taking, and whether the student is in-state or out-of-state, and finally print the total tuition. The total tuition is calculated as number of credits * 296 for in-state students, and number of credits * 1066 for out-of-state students.

Examples of input/output

Python 

please enter the number of credits 

are you in state student(yes/no):yes

your tuition cost is:

 

please enter the number of credits 

are you in state student(yes/no):no

your tuition cost is:

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

You can create a Python program to calculate tuition for graduate students as follow... View full answer

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