Create a python program that will ask the student's full name as well as grades in Chemistry, Biology, English, Physics, and Arts. Following that, it will produce an output of its General Weighted Average (GWA) with its equivalent based on the grades inputted.
Source code
name=input("Enter your full name: ")
Chemistry=int(input("Enter your grade in Chemistry: "))
Biology=int(input("Enter your grade in Biology: "))
English=int(input("Enter your grade in English: "))
Physics=int(input("Enter your grade in Physics: "))
Arts=int(input("Enter your grade in Arts: "))
total=Chemistry+Biology+English+Physics+Arts;
gwa=total/5.0;
print("General Weighted Average (GWA) = ",gwa)
Output
Comments
Leave a comment