Computer Science, asked by hansikadorolla, 8 months ago

write a phython program to get marks of
5 Subjects from 30 students and point the
average mark of each of them.​

Answers

Answered by stranger0000
0

Answer :

#python program to get marks of 30 students and print average

n = 1

while n<=30:

sub1 = int(input("enter marks"))

sub2 = int(input("enter marks"))

sub3 = int(input("enter marks"))

sub4 = intint(input("enter marks"))

sub5 = int(input("enter marks"))

sum = sub1+sub2+sub3+sub4+sub5

average = sum/5

print("Average Marks :", average)

n+=1

Similar questions