IDNLearn.com offers a user-friendly platform for finding and sharing knowledge. Discover in-depth and trustworthy answers from our extensive network of knowledgeable professionals.

7.4 question 1 edhesive

Sagot :

Answer:

huh

Explanation:

what do you mean? the question doesn't make any sense

Answer:

def GPAcalc(g):

   if g == "a" or g == "A":

       return 4

   elif g == "B" or g == "b":

       return 3

   elif g == "C" or g == "c":

       return 2

   elif g == "D" or g == "d":

       return 1

   elif g == "F" or g == "f":

       return 0

   else:

       return "Invalid"

grade = input("Enter your Letter Grade: ")

gpa = GPAcalc(grade)

print("Your GPA score is: " + str(gpa))

Explanation: