If remainder is non zero , we cannot divide the sum by count i . e . the average will not be an integer
if ( remainder != 0 ) : NEW_LINE INDENT return 0 ; NEW_LINE DEDENT average = sum // count ; NEW_LINE