Problem:

Compute the mode of ${2 \sqrt{3}, -\frac{16}{\sqrt{3}}, -2 \sqrt{3}, 2 \sqrt{3}, 2 \sqrt{3}, \frac{7}{\sqrt{3}}, -\frac{14}{\sqrt{3}}, -2 \sqrt{3}, -\frac{7}{\sqrt{3}}, 2 \sqrt{3}, -2 \sqrt{3}, 2 \sqrt{3}, -2 \sqrt{3}, -\frac{2}{\sqrt{3}}, -\frac{7}{\sqrt{3}}, -\frac{16}{\sqrt{3}}, -\frac{2}{\sqrt{3}}, 2 \sqrt{3}, -\frac{14}{\sqrt{3}}, -\frac{14}{\sqrt{3}}, -\frac{16}{\sqrt{3}}, -\frac{16}{\sqrt{3}}, -\frac{2}{\sqrt{3}}, -2 \sqrt{3}, \frac{7}{\sqrt{3}}, -\frac{2}{\sqrt{3}}, -\frac{2}{\sqrt{3}}}$.

import math

from statistics import mode

values = 2*math.sqrt(3), -(16/(math.sqrt(3))), -2*math.sqrt(3), 2*math.sqrt(3), 2*math.sqrt(3), (7/(math.sqrt(3))), -(14/(math.sqrt(3))), -2*math.sqrt(3), -(7/(math.sqrt(3))), 2*math.sqrt(3), -2*math.sqrt(3), 2*math.sqrt(3), -2*math.sqrt(3), -(2/(math.sqrt(3))), -(7/(math.sqrt(3))), -(16/(math.sqrt(3))), -(2/(math.sqrt(3))), 2*math.sqrt(3), -(14/(math.sqrt(3))), -(14/(math.sqrt(3))), -(16/(math.sqrt(3))), -(16/(math.sqrt(3))), -(2/(math.sqrt(3))), -2*math.sqrt(3), (7/(math.sqrt(3))), -(2/(math.sqrt(3))), -(2/(math.sqrt(3)))
print(mode(values))
