Intro to CS: Lecture 10 - Lists, Mutability


Topics: List Operations, Mutability: mutation, aliasing, tricky examples with loops over L Lists are mutable. Strings are not. We covered the append function on lists. Convert string to list using list(s), and convert list to string using join. This is all review for me.

Functions with side effects can mutate inputs. We go over some tricky loop examples which I think was a good review for me.