DEV Community

loading...
Play Button Pause Button

Python Zero to Hero - Ep.21 - More Python List and Dict

Cheuk Ting Ho 🐍
DevRel 🥑 for TerminusDB. EuroPython Board member. Organizer of London Python Sprints and AI Club for Gender Minorities. Pythonista. Speaker and master of Lightning Talk!
・1 min read

We go deeper with Python list and dictionary this time to see how we can create a list with the beautiful list comprehension. Also, we will see how we can sort a list in various ways. Before we end the episode, we also have a look at the OrderedDict and Counter that the Collections library offer. If you have any questions or any suggestions about which Python topics to cover, please leave your comment at my Twitch channel

You can get the slide deck here and the example code and homework form GitHub here. Ask questions at my Twitch channel

Discussion (0)