Does there exists a continuous onto function from $[0,1)$ to $(0,1)$?
My approach: If there is a continuous onto function from $[0,1)$ to $(0,1)$ then for g , extension of f on [0,1] image of [0,1] is either $(0,1)$ or $[0,1)$ or $(0,1]$ .All of these three sets are non compact .but image of compact set under cont map is compact .
So, it is not possible. Am I right? If Ans is yes then pls help me how to construct such function and how can I visualise it?
$f$" />