Solution:
Concept: The limit limx→af(x) exists only when the left-hand limit (L.H.L.) limx→a−f(x) and the right-hand limit (R.H.L.) limx→a+f(x) both exist as finite numbers and are equal; their common value is the limit. To find the L.H.L. we put x=a−h, and to find the R.H.L. we put x=a+h, where h>0 and h→0. The value f(a) itself plays no part.
Step 1 — Find the left-hand limit. We put x=2π−h, where h>0 and h→0, and use tan(2π−h)=coth:
x→2π−limtanx=h→0+limtan(2π−h)=h→0+limcoth
As h→0+, cosh→1 and sinh→0 through positive values, so coth=sinhcosh grows without bound:
x→2π−limtanx=+∞
Step 2 — Find the right-hand limit. We put x=2π+h, where h>0 and h→0, and use tan(2π+h)=−coth:
x→2π+limtanx=h→0+lim(−coth)=−∞
Step 3 — Draw the conclusion. The graph of y=tanx shows the two branches running off upwards and downwards on either side of the dashed line x=2π.

Neither one-sided limit is a finite number, and they are not even equal (one is +∞, the other −∞), so the limit does not exist.
Therefore, since limx→2π−tanx=+∞ and limx→2π+tanx=−∞, limx→2πtanx does not exist.