Solving an exercise in Dan Shiffman "Learning Processing"

Thank you! Being new to coding, this further clarification of the function vs the variable usage is very helpful!! Much appreciated.