Odpowiedź :
Wyjaśnienie:
n=int(input('Ile ocen wprowadzasz? '))
a=0
for i in range(0,n):
print('podaj',i+1,'ocenę: ',end='')
b=float(input())
a=a+b
print('Średnia podanych ocen wynosi ',a/n)

Wyjaśnienie:
n=int(input('Ile ocen wprowadzasz? '))
a=0
for i in range(0,n):
print('podaj',i+1,'ocenę: ',end='')
b=float(input())
a=a+b
print('Średnia podanych ocen wynosi ',a/n)