I need an example of a periodic function $q:\mathbb{R} \to \mathbb{R}$ with period $\pi$ such that if we consider the differential equation \begin{equation}\tag{1} y''(x)+(\lambda -q(x))y(x)=0 \end{equation} and the boundary conditions \begin{equation}\tag{2} y(0)=y(\pi), \quad y'(0)=y'(\pi) \end{equation} \begin{equation}\tag{3} y(0)=-y(\pi), \quad y'(0)=-y'(\pi), \end{equation} then there exist at least two simple eigenvalues of the problem (1), (2) or there exist at least two simple eigenvalues of the problem (1), (3).
I know that if $q(x)=0$ for all $x \in \mathbb{R}$, then (1), (2) has only a simple eigenvalue and all eigenvalues of (1), (3) are multiple.