Problem 3
How do functions help you reuse code in a program?
Problem 6
A function definition has what two parts?
Problem 8
When a function is executing, what happens when the end of the function's block is reached?
Problem 9
Why must you indent the statements in a block?
Problem 12
Is it permissible for a local variable in one function to have the same name as a local variable in a different function?
Problem 13
What are the pieces of data that are passed into a function called?
Problem 14
What are the variables that receive pieces of data in a function called?
Problem 15
What is a parameter variable's scope?
Problem 17
The following statements call a function named . Which of the statements passes arguments by position, and which passes keyword arguments? a. show data (name=' Kathryn', age=25) b. show data ('Kathryn', 25)
Problem 19
Give one good reason that you should not use global variables in a program.