Computer Science, asked by bibliophile95, 7 months ago

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 sambhavgautam6
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