Problem:

Compute the range of ${9, 3, -3, \frac{31}{5}, 8 \log (2), \frac{13}{\sqrt{\pi }}, -\frac{5}{\sqrt{3}}, -8, -\frac{29}{3}, -\pi, 2 e, 5 \sqrt{2}, 9, 10}$.

import math

values = 9, 3, -3, (31/5), 8*math.log(2), (13/(math.sqrt(math.pi))), -(5/(math.sqrt(3))), -8, -(29/3), -math.pi, 2*math.e, 5*math.sqrt(2), 9, 10
print(max(values) - min(values))
