You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#5. Read marks of Physics, Chemistry and Mathematics from the user and calculate average and Grade. Write a Python Program to print the Grade according to the following Table:
# Average Grade
# >=90 O
# 80<= and >90 A
# 70<= and >80 B
# 60<= and >70 C
# 50<= and >60 D
# <50 Fail
physics = float(input("Enter the Marks obtained in Physics: "))
chemistry = float(input("Enter the Marks ontained in Chemistry: "))
mathematics = float(input("Enter the Marks obtained in Mathematics: "))