Problem:

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

import math

from statistics import mode

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