I have the space $M=\Bbb R^{\Bbb N}$
the distance function $d(a,b)=\sum\frac{2^{-n}|a_n-b_n|}{1+|a_n-b_n|}$
and the subset $V=\{a \in M|\{n \in \Bbb N|a_n \neq 0\}finite\}$.
I'm trying to find a continuous function $f:M\rightarrow Y$ s.t. $Z\subset Y$ and $f^{-1}(Z)=V$
I think the set would be $(-\infty,0) \cup(0,\infty)$ but i can't figure out how to construct the function itself...