Project for python

The registrar’s office at Calvin Coolidge’s Cool College has been so impressed with your work so far that they have another task for you.

They want you to return to a previous if statement and add in several checks using and and not statements:

  • If a student’s credits is not greater or equal to 120, it should print:
"You do not have enough credits to graduate."
  • If their gpa is not greater or equal to 2.0, it should print:
"Your GPA is not high enough to graduate."
  • If their credits is not greater than or equal to 120 and their gpa is not greater than or equal to 2.0, it should print:
"You do not meet either requirement to graduate!"

Make sure your return value matches those strings exactly. Capitalization, punctuation, and spaces matter!

I need help to solve this, please can someone give me an idea to solve this?

Think of the requirements for a pass and create a test for that condition. Once you have that, everything else fails for one or the other or both reasons which is moot and easy to report. Bottom line, what does it take to graduate?