Answer :
The two benefits of defining a function are:
- It keeps code smaller by reducing the number of blocks.
- It can be reused in multiple spots throughout the program.
What is this function about?
A function is defined based on the link that exist between a set of inputs having one output each.
Note that a function is simply a relationship that exist between inputs where each input is linked to one specific output.
Therefore, The two benefits of defining a function are:
- It keeps code smaller by reducing the number of blocks.
- It can be reused in multiple spots throughout the program.
Learn more about function from
https://brainly.com/question/23897143
#SPJ1