This exercise is given in Munkres, but it is not stated in which topology that it holds. Do I take the product topology or box topology?
Additionally, I have a question on how to solve this problem. Let $A = A_1 \times A_2 \dots$ be the space, and let $B_n$ be the countable dense subset of $A_n$. Can I take $B = B_1 \times B_2 \times \cdots$ to be the countable dense subset, or do I have to be more clever than that?