# What is the domain and range of f(x)=7?

Range - only one number $y = 7$.
This is a function defined for all real arguments $x$, so its domain is all real numbers $\left(- \infty , + \infty\right)$.
Since for any value of an argument the function takes a value of $7$, its range is one and only one real number $y = 7$.