# Can I quote a function in return when def a function?

Hi!

in [this exercise](https://gist.github.com/aa9fc63a7fb5eab530935c1e408fab18), task 11 requires me to

“Define a final function called `get_work` that takes in `mass` , `acceleration` , and `distance` . Work is defined as force multiplied by distance. First, get the `force` using `get_force` , then multiply that by `distance` . Return the result”

so I quoted get_force function when defining get_work and wrote

def get_work(mass,acceleration,distance):
return get_force*distance

the output showed error. since get_force =mass*accelearation, I then wrote:

def get_work(mass,acceleration,distance):
return mass * acceleration * distance

the output showed the correct result—but I don’t quite get why quoting get_force function didn’t work?