The period of the function $y = \tan x + \cot x$ is equal to the least common multiple (LCM) of the periods of $\tan x$ and $\cot x$.
The period of $\tan x$ is $\pi$ because it repeats every $\pi$ units.
The period of $\cot x$ is also $\pi$ because it is the reciprocal of $\tan x$ and therefore has the same period.
Therefore, the period of $y = \tan x + \cot x$ is the LCM of $\pi$ and $\pi$, which is $\pi$.
So, the period of the function is $\boxed{\pi}$.The answer is: \pi
Below is a math problem. Provide a detailed, step-by-step solution.

### Problem:
Determine the period of the function $y = \tan x + \cot x$.

### Answer:
