- Level up on Python lists and dictionaries
Read and work through the following:
**NOTE: You don't have to do the exercises in Automate the Boring Stuff, but you should type in the commands for code examples throughout the text. Use a JupyterLite notebook tab or fire up an interactive Python shell in GitHub Codespace by typing
python
in the Bash terminal.
-
Lists
- Read Automate's Chapter 4 on Lists and stop right before the section titled Example Program: Magic 8 Ball with a List.
- Do the W3C schools lists exercise
-
Dictionaries (key/value mappings)
- Read the top two sections in Automate's Chapter 5 on Dictionaries : The Dictionary Data Type and Dictionaries vs. Lists
- W3C schools - Review all sections on dictionary syntax and work through the exercises at the end.