Computer Science, asked by divya17853, 1 year ago

Write a script in Python that accepts marks of a student in five subjects and prints average
marks.

Answers

Answered by navneetajha77
11

Explanation:

name= ( input( "enter your name ="))

b=float(input(" enter 1st subject mark ="))

c=float(input(" enter 2 nd subject mark ="))

d=float(input(" enter 3 rd subject mark ="))

a=float(input(" enter 4 th subject mark ="))

e=float(input(" enter 5 th subject mark ="))

avg=(a+b+c+d+e/5)

print (" average marks =",avg)

please mark me brainliest

Similar questions