Computer Science, asked by ramsmedicine, 1 month ago

.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 adityachandila98
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 kanpas7
0

Answer:

mark me brainliest

Attachments:
Similar questions