Write code in Python to calculate total marks and percentage of a student.
* The user needs to enter the marks for three subjects
Answers
Answered by
1
Answer:
Python: How to calculate total, average and percentage of marks of five subjects
Read marks of five subjects in some variables say S1, S2, S3, S4 and S5.
Apply the formula for finding sum i.e. total = S1 + S2 + S3 + S4 + S5.
Apply the formula to find average using
Similar questions