n=int(input("¿Cuántas notas desea ingresar?: "))
suma=0

for i in range(n):
    nota=float(input(f"Ingrese la nota #{i+1}: "))
    suma += nota

promedio = suma / n
print(f"El promedio general de las {n} notas es: {promedio:.2f}")

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: