I keep finding proofs discussing how subsets of continuous functions are continuous, but I’m puzzled because what if my continuous function is, for example, y=x, and I make my subset of x the even integers. Then as far as I can tell I would have just created a discontinuous subset from a continuous function.
Can someone clarify this for me?