Every programmer has seen dictionaries but when I teach dictionaries in my beginners course, there is one question I have a hard time explaining: When should you use a dictionary? In this video, you get the answer to that question.
C H A P T E R S
0:22 Use lists to iterate
0:46 Lookups in lists might iterate the whole list
1:56 When are huge lists a problem?
3:15 What is a good case for dictionaries?
4:15 Benefit of dictionaries is that lookups are built-in
4:36 What is the datatype of the dictionary key?
5:05 Redundant information in the dictionary?
5:20 Generator expressions
M Y O N L I N E T R A I N I N G
🎓Like my style of teaching? Enroll in one of my courses online: https://pythonforeveryone.com
#dictionaries #programming #python
Watch video Why and when to use dictionaries in Python? online, duration hours minute second in high quality that is uploaded to the channel Python for Everyone 13 November 2023. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 229 times and liked it 17 visitors.