From c5ed9459c14a398e6ce9d3aa1e4d723200ac0957 Mon Sep 17 00:00:00 2001 From: Chris Date: Tue, 8 Mar 2022 10:23:13 -0500 Subject: [PATCH] Add text template for list_or_dict --- README.md | 1 + list_or_dict.md | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 README.md create mode 100644 list_or_dict.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..8c03276 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# Dictionaries diff --git a/list_or_dict.md b/list_or_dict.md new file mode 100644 index 0000000..5a2ce5d --- /dev/null +++ b/list_or_dict.md @@ -0,0 +1,19 @@ +# List or dict? + +For each use case below, explain whether it would be better to store the data +in a `list` or in a `dict`. (Not all of these have a clear answer, so justify +yours.) + +## Items you need to buy at the grocery store + +## Your friends' birthdays + +## Keeping track of RSVPs to a party + +## Your personal movie ratings + +## Temperature readings from a sensor + +## Messages in an email inbox + +## Git commits