- 1

Write a program to input marks of three tests of a student (all integers).Then calculate and print the average of all test marks

Average = sum(input)/ len(input) print(Average)

15th Oct 2020, 4:52 AM
Prathyusha Arumalla
Prathyusha Arumalla - avatar
3 Answers
+ 5
It is a simple question. And where is your attempt..
15th Oct 2020, 5:04 AM
Alphin K Sajan
Alphin K Sajan - avatar
+ 3
Take three input or you can use array for three input with loop . And use formula for average Avg=Total numbers/ number of subjects And print value of average . If you Don't understood program then u can search on Google u can find easily.
15th Oct 2020, 5:15 AM
A S Raghuvanshi
A S Raghuvanshi - avatar
- 2
First take a list of inputs into input as integers in separate lines or A list of inputs with a space separating then split into a list and convert all to integers.. Rest code you have already..
15th Oct 2020, 10:14 AM
Jayakrishna 🇼🇳