Problem:

Compute the range of ${-8, -9, -3 \sqrt{2}, 2 \sqrt{2}, \frac{10}{\pi }, -2, 0, 2, 5, -10, \frac{46}{5}, -1, 2, 3 \pi}$.

import math

values = -8, -9, -3*math.sqrt(2), 2*math.sqrt(2), (10/math.pi), -2, 0, 2, 5, -10, (46/5), -1, 2, 3*math.pi
print(max(values) - min(values))
