Add text template for list_or_dict
This commit is contained in:
19
list_or_dict.md
Normal file
19
list_or_dict.md
Normal file
@@ -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
|
Reference in New Issue
Block a user