diff --git a/08/overview.md b/08/overview.md new file mode 100644 index 0000000000000000000000000000000000000000..7fe5ec14fabff84fb0ff7e50d720329507e1cecd --- /dev/null +++ b/08/overview.md @@ -0,0 +1,20 @@ +# Lecture 08 Overview + +# Keyword Arguments +- You can provide "optional" arguments in `python` + +# New List Functionality +- `lst[-1]` +- `list.pop()` +- `list.pop(0)` + +# More Dictionaries +- `d.keys()` +- `d.values()` +- Cumulative Algorithm Patttern for dictionaries + +# Case Study: A Joke Teller! +- `get_n_jokes(n: int, type: JokeType = "any") -> list[Joke]` +- `get_average_joke_rating(ratings: dict[int, int])` +- `find_best_joke(jokes: dict[int, Joke], joke_ratings: dict[int, int])` +- `tell_jokes(n: int = 3)`