A mean that loses its fraction

A Python 3 program must report the arithmetic mean of five quiz marks whose total is 83 points. Fractional means are allowed. For these positive values, // discards the fractional part of the quotient.


Python
total = 83
count = 5
print(total // count)


By how many points is the printed mean below the required mean? Answer in points, to one decimal place.

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Bug Types (Syntax, Runtime, Logic) Questions: