Problem:

Compute the mode of ${-\pi, 0, -2 \pi, \pi, \pi, 3 \pi, 0, -2 \pi, 3 \pi, 0, \pi, -2 \pi, 3 \pi, -2 \pi, -2 \pi, -\pi, 3 \pi, -2 \pi, -3 \pi, -\pi, -2 \pi}$.

import math

from statistics import mode

values = -math.pi, 0, -2*math.pi, math.pi, math.pi, 3*math.pi, 0, -2*math.pi, 3*math.pi, 0, math.pi, -2*math.pi, 3*math.pi, -2*math.pi, -2*math.pi, -math.pi, 3*math.pi, -2*math.pi, -3*math.pi, -math.pi, -2*math.pi
print(mode(values))
