# n= 10
# 1+2+3+4+5+6+7+8+9+10/10
sum of digits of a number.
Hi everyone. I am facing this error let me know where I am going wrong. How to resolve the issue.
i=1
sum=0
num=0
print('enter the n value of integers you want ')
n= eval(input())
print(type(sum))
print('enter 10 integers')
while i<=n:
num = input()
sum = sum+num
i += 1
print('Avg is ', sum/n)