Commit 364197df authored by Adam Blank's avatar Adam Blank
Browse files

autocommit

parent e53fe70a
Showing with 20 additions and 0 deletions
+20 -0
# 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)`
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment