Consider the function $g(x) = f(x)-f(x+\pi)$. What can you say about $f(0)$ and $f(\pi)$? Then remember the Intermediate Value Theorem.
Consider the function $g(x) = f(x)-f(x+\pi)$. What can you say about $f(0)$ and $f(\pi)$? Then remember the Intermediate Value Theorem.