- 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)
3 Respostas
+ 5
It is a simple question.
And where is your attempt..
+ 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.
- 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..