A = [5,2,8,10,3]
otv = []
for i in A:
if i % 5 == 0:
otv.append(i)
print(f"Ср.значение = {sum(otv) / len(otv)}")
A = [5,2,8,10,3]
otv = []
for i in A:
if i % 5 == 0:
otv.append(i)
print(f"Ср.значение = {sum(otv) / len(otv)}")