.Write a Python program to accept the marks of three subjects English, Maths and Science. Calculate and display the total marks and average obtained. (Use float datatype for the marks)
answer to my question plsssss
Answers
Answered by
2
Answer:
Explanation:
english = float(input('Enter english marks: '))
maths = float(input('Enter maths marks: '))
science = float(input('Enter science marks: '))
# calculate total marks
total = english + maths + science
# calculate average
average = total/3
# display result
print('The total marks obtained are = %0.2f' %total)
print('The average of marks = %0.2f' %average)
Answered by
0
Answer:
mark me brainliest
Attachments:
Similar questions
History,
24 days ago
Physics,
24 days ago
Accountancy,
24 days ago
Math,
1 month ago
Math,
1 month ago