Written answers! Remember, summer in Athens lasts another day for every sentence fragment you leave.
A
When a list is passed into a function as an input argument and modified within the function, the modifications persist even after the function is finished. Explain why this is true for lists, but not for integers.
B
Describe the range() function. What are its arguments? What does it return? When do you use it?
C
Give three reasons why functions are useful.
D
What is the difference between writing a function that accepts a variable number of arguments, and a function that accepts a single list argument? What are the situations in which you'd use one over the other?
E
Describe how you can test if a particular value (e.g., an integer) is in a list of values.