Python Functions

syntax for defining a function in Python: example of how you could define a function to calculate the average fuel efficiency of a car: When run, the code outputs: