I’m trying to write a average program but there is a problem when I want to see the result.
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:')
New contributor
fatemeh ekhlasi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1