Problem:

Compute the mode of ${\frac{16}{\sqrt{5}}, \frac{16}{\sqrt{5}}, 2 \sqrt{5}, \frac{19}{\sqrt{5}}, \frac{19}{\sqrt{5}}, 2 \sqrt{5}, \frac{16}{\sqrt{5}}, 2 \sqrt{5}, \frac{16}{\sqrt{5}}, 2 \sqrt{5}, \frac{19}{\sqrt{5}}, \frac{16}{\sqrt{5}}, -\frac{13}{\sqrt{5}}, \frac{16}{\sqrt{5}}, -\frac{13}{\sqrt{5}}, 2 \sqrt{5}, \frac{16}{\sqrt{5}}, \frac{19}{\sqrt{5}}, \frac{16}{\sqrt{5}}, \frac{19}{\sqrt{5}}, -\frac{13}{\sqrt{5}}, \frac{19}{\sqrt{5}}, \frac{16}{\sqrt{5}}, \frac{19}{\sqrt{5}}, 2 \sqrt{5}}$.

import math

from statistics import mode

values = (16/(math.sqrt(5))), (16/(math.sqrt(5))), 2*math.sqrt(5), (19/(math.sqrt(5))), (19/(math.sqrt(5))), 2*math.sqrt(5), (16/(math.sqrt(5))), 2*math.sqrt(5), (16/(math.sqrt(5))), 2*math.sqrt(5), (19/(math.sqrt(5))), (16/(math.sqrt(5))), -(13/(math.sqrt(5))), (16/(math.sqrt(5))), -(13/(math.sqrt(5))), 2*math.sqrt(5), (16/(math.sqrt(5))), (19/(math.sqrt(5))), (16/(math.sqrt(5))), (19/(math.sqrt(5))), -(13/(math.sqrt(5))), (19/(math.sqrt(5))), (16/(math.sqrt(5))), (19/(math.sqrt(5))), 2*math.sqrt(5)
print(mode(values))
