Question: PYTHON 3 Assume that credits is a variable whose value is 0 or a positive integer. Write an expre ssion whose value is freshman or

PYTHON 3

PYTHON 3 Assume that credits is a variable whose value is 0

Assume that credits is a variable whose value is 0 or a positive integer. Write an expre ssion whose value is "freshman" or "sophomore" or "junior" or "senior" based on the v alue of credits. In particular: if the value of credits is less than 30 the expression's v alue is "freshman"; 30-59 would be a "sophomore", 60-89 would be "junior" and 90 or m ore would be a "senior

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!