print("평균구하기")
a = 0
b = int(input("수의 갯수를 입력하세요"))
print()
for c in range(1,b):
    d = int(input("%d번째 수를 입력하세요"%(c)))
    a = a + d
    print()
print("평균은 %3.4f입니다"%(a/c))

Embed on website

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