Problem:

Compute the mode of ${-\frac{17}{\sqrt{5}}, -\frac{17}{\sqrt{5}}, \frac{21}{\sqrt{5}}, \frac{3}{\sqrt{5}}, \frac{18}{\sqrt{5}}, \frac{21}{\sqrt{5}}, \frac{12}{\sqrt{5}}, \frac{12}{\sqrt{5}}, \frac{19}{\sqrt{5}}, \frac{12}{\sqrt{5}}, \frac{12}{\sqrt{5}}, \frac{18}{\sqrt{5}}, \frac{18}{\sqrt{5}}, \frac{18}{\sqrt{5}}, \frac{19}{\sqrt{5}}, \frac{18}{\sqrt{5}}, \frac{12}{\sqrt{5}}, \frac{19}{\sqrt{5}}, \frac{21}{\sqrt{5}}, \frac{3}{\sqrt{5}}, \frac{3}{\sqrt{5}}, \frac{3}{\sqrt{5}}, -\frac{17}{\sqrt{5}}, \frac{3}{\sqrt{5}}, \frac{19}{\sqrt{5}}, \frac{12}{\sqrt{5}}, \frac{3}{\sqrt{5}}, \frac{21}{\sqrt{5}}}$.

import math

from statistics import mode

values = -(17/(math.sqrt(5))), -(17/(math.sqrt(5))), (21/(math.sqrt(5))), (3/(math.sqrt(5))), (18/(math.sqrt(5))), (21/(math.sqrt(5))), (12/(math.sqrt(5))), (12/(math.sqrt(5))), (19/(math.sqrt(5))), (12/(math.sqrt(5))), (12/(math.sqrt(5))), (18/(math.sqrt(5))), (18/(math.sqrt(5))), (18/(math.sqrt(5))), (19/(math.sqrt(5))), (18/(math.sqrt(5))), (12/(math.sqrt(5))), (19/(math.sqrt(5))), (21/(math.sqrt(5))), (3/(math.sqrt(5))), (3/(math.sqrt(5))), (3/(math.sqrt(5))), -(17/(math.sqrt(5))), (3/(math.sqrt(5))), (19/(math.sqrt(5))), (12/(math.sqrt(5))), (3/(math.sqrt(5))), (21/(math.sqrt(5)))
print(mode(values))
