create a python program to input the scores of three subjects (physics, chemistry, and maths)and calculate the total and average marks scored.
Answers
Answered by
7
- #Python program to print scored of 3 subjects
- marks1= int(input("enter marks of physics::"))
- marks2= int(input("enter marks chemistry::"))
- marks3= int(input("enter marks of maths::"))
- Total=(marks1+marks2+marks3)
- average = (marks1+marks2+marks3)/3
- print("total marks:",Total)
- print("average::",average)
Similar questions
Physics,
3 months ago
Political Science,
3 months ago
English,
7 months ago
Social Sciences,
7 months ago
Chemistry,
11 months ago
Geography,
11 months ago