Problem:

Compute the range of ${\sqrt{2}, -\frac{9}{2}, -\sqrt{2}, -\frac{12}{\sqrt{5}}, \pi, 9, -\frac{2}{\sqrt{\pi }}, -\frac{1}{\sqrt{\pi }}, \frac{43}{5}, -6, 3 \sqrt{2}, \frac{16}{7}, 9, 5 \sqrt{2}}$.

import math

values = math.sqrt(2), -(9/2), -math.sqrt(2), -(12/(math.sqrt(5))), math.pi, 9, -(2/(math.sqrt(math.pi))), -(1/(math.sqrt(math.pi))), (43/5), -6, 3*math.sqrt(2), (16/7), 9, 5*math.sqrt(2)
print(max(values) - min(values))
