Write a script in Python that accepts marks of a student in five subjects and prints average
marks.
Answers
Answered by
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
Environmental Sciences,
6 months ago
English,
1 year ago
Chemistry,
1 year ago
History,
1 year ago
Math,
1 year ago