I am working on Python 3 - Physics class project.
Step 11 states:
Define a final function called
get_work that takes in
acceleration , and
Work is defined as force multiplied by distance. First, get the
get_force , then multiply that by
distance . Return the result.
I have attached a screen shot with 2 options:
Why does number 1 not work?
force = get_force * distance
The video tutorial states it must be:
force = get_force(mass, acceleration)
return force * distance
My question is - why does get_force need the (mass, acceleration) brackets and why cant it just be multiplied in one row?