Problem:

Compute the range of ${2, 5, 4, -\frac{23}{e}, -7, 1, 3 \sqrt{5}, -\frac{24}{7}, 2, -7, 4 \sqrt{2}, -1, -1, -5}$.

import math

values = 2, 5, 4, -(23/math.e), -7, 1, 3*math.sqrt(5), -(24/7), 2, -7, 4*math.sqrt(2), -1, -1, -5
print(max(values) - min(values))
