Problem:

Compute the mode of ${\frac{1}{\sqrt{2}}, -2 \sqrt{2}, 4 \sqrt{2}, -3 \sqrt{2}, 0, 4 \sqrt{2}, 4 \sqrt{2}, -3 \sqrt{2}, -3 \sqrt{2}, \frac{5}{\sqrt{2}}, -3 \sqrt{2}, 0, -2 \sqrt{2}, -2 \sqrt{2}, \frac{1}{\sqrt{2}}, 4 \sqrt{2}, 4 \sqrt{2}, \frac{5}{\sqrt{2}}, 4 \sqrt{2}, 4 \sqrt{2}, \frac{5}{\sqrt{2}}, 0, 0, -2 \sqrt{2}, \frac{5}{\sqrt{2}}, 4 \sqrt{2}, 0, -2 \sqrt{2}}$.

import math

from statistics import mode

values = (1/(math.sqrt(2))), -2*math.sqrt(2), 4*math.sqrt(2), -3*math.sqrt(2), 0, 4*math.sqrt(2), 4*math.sqrt(2), -3*math.sqrt(2), -3*math.sqrt(2), (5/(math.sqrt(2))), -3*math.sqrt(2), 0, -2*math.sqrt(2), -2*math.sqrt(2), (1/(math.sqrt(2))), 4*math.sqrt(2), 4*math.sqrt(2), (5/(math.sqrt(2))), 4*math.sqrt(2), 4*math.sqrt(2), (5/(math.sqrt(2))), 0, 0, -2*math.sqrt(2), (5/(math.sqrt(2))), 4*math.sqrt(2), 0, -2*math.sqrt(2)
print(mode(values))
