آزمون جلسه اول

a = []
i = 0
while i < 10 :
    b = int(input("enter a number:"))
    a.append(b)
    i += 1
i = 0
count = 0
sum = 0
while i < 10 :
    if a[i] % 2 != 0 :
        sum += a[i]
        count += 1
    i += 1
print(f"ave is {sum / count}")