Find the union of the following sets, namely ${-\frac{31}{4}, -\frac{28}{\pi }, 7 \sqrt{2}, 2, -4, -2, 8, -\frac{17}{\sqrt{3}}} \cup {-2, \frac{5}{\pi }, -\frac{31}{4}, 2, -4, -5, -\frac{17}{\sqrt{3}}, -7 \sqrt{2}}$.

import math

fst = set((-(31/4), -(28/math.pi), 7*math.sqrt(2), 2, -4, -2, 8, -(17/(math.sqrt(3))),))
snd = set((-2, (5/math.pi), -(31/4), 2, -4, -5, -(17/(math.sqrt(3))), -7*math.sqrt(2),))
print(fst.union(snd))
