Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
This question (or a close relative) is discussed and answered in
When factors may be cancelled in homeomorphic products?When factors may be cancelled in homeomorphic products?
When factors may be cancelled in homeomorphic products?