Я пытаюсь написать среднюю программу, но среднее значение не выводится в конце программы.
Вот мой код:total=0
count=0
while True:
entry =int (input ('enter your score:'))
if entry==0:
break
total+=entry
count += 1
average = (total/count)
print ('average score:')
Подробнее здесь: https://stackoverflow.com/questions/787 ... t-my-value