total = 0
print("¿Cuántas notas quieres ingresar?")
cantidad= int(input())
for i in range(cantidad):
    nota= float(input())
    r= i+1
    total += nota
promedio= total/cantidad
print(f"El promedio general es: {promedio}")

Embed on website

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