1 00:00:08,000 --> 00:00:11,070 Welcome back. In this lesson, 2 00:00:11,070 --> 00:00:14,760 we're going to highlight a few subtleties with functions including: that 3 00:00:14,760 --> 00:00:17,310 each execution gets a fresh set of 4 00:00:17,310 --> 00:00:20,970 local variables that disappear at the end of the function execution, 5 00:00:20,970 --> 00:00:24,000 that functions can call other functions, 6 00:00:24,000 --> 00:00:28,275 and that functions can have side effects on mutable objects. 7 00:00:28,275 --> 00:00:31,635 At the end of this lesson, you should be able to, one, 8 00:00:31,635 --> 00:00:34,530 avoid the use of global variables and function definitions by 9 00:00:34,530 --> 00:00:37,795 creating formal parameters for all values that are needed, 10 00:00:37,795 --> 00:00:42,350 and two, identify whether a function has any side effects, 11 00:00:42,350 --> 00:00:47,290 Including mutations to lists and dictionaries. We'll see you at the end.