Problem:

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

import math

from statistics import mode

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