Question: is cos x a continuous function?
Answer: Therefore cos(cos(π/x) is continuous everywhere except possibly at x = 0.