# Write a function average(low, high) that returns the average of the
# integers between low and high (inclusive).
#
# For example: average(3, 6) returns (3 + 4 + 5 + 6) / 4 = 4.5
def average(low, high):
result = 0
for x in range(low, high+1):
result = result + x
return result / (high - low + 1)
print( average(3, 6) )