c=0
s=0
while c<7:
    print("inserire un numero")
    n = float (input())
    c=c+1
    s=s+n
    media=s/7
print("media=",media)

Embed on website

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