# How do you write a piecewise function that has domain of (all real numbers) and range of y that is not equal to 2?

Dec 5, 2017

$y = 1$ (if $x = 2$)
$y = x$ (otherwise)