Computer Science, asked by Anonymous, 5 months ago

Write a program in python to read marks of five different subject and find out the total and average.

Answers

Answered by Anonymous
0

Answer:

math = int(input("Enter the marks obtained: "))

english = int(input("Enter the marks obtained: "))

physics = int(input("Enter the marks obtained: "))

chemistry = int(input("Enter the marks obtained: "))

computer = int(input("Enter the marks obtained: "))

total = math + english + chemistry + physics + computer

average = total / 5.0

print(total)

print(average)

Similar questions