Answer to Question #270384 in Python for Codee

Question #270384

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.


1
Expert's answer
2021-11-24T00:43:28-0500

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





Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS