Let X=[0,1) U (1,2),is subset of R,equip with usual topology,then their exist a non constant continuous function from X to Q??is it really true??
My argument is,every function from R to Q ,which is cont. Is constant,so how there possible a non constant continuous function from a disconnected space to Q,which is totally disconnected