Question: def main ( ) : GPA = float ( input ( Please enter your grade point average: ) ) if GPA > = 9

def main():
GPA = float(input("Please enter your grade point average:"))
if GPA >=90:
grade ="A"
elif GPA >=80:
grade ="B"
elif GPA >=70:
grade ="C"
elif GPA >=60:
grade ="D"
else:
grade ="F"
print("Your course letter grade is", grade)
main()
what is wrong with this code

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 Programming Questions!