Tag: dictionaries

person using white and silver computer keyboard
Python

New Syntax Features in Python 3.9

In October 2020, Python 3.9 introduced amazing new syntax features. As of now, you can use the new operators for dictionaries, better type hints and the advanced syntax for decorators. Read more about them in this post!

Read More »
many books
Python

Dictionary-Tricks in Python

In Python, the dictionary is one of the most powerful data structures you can use. There are many features and techniques concerning dictionaries that you may not have on your radar yet, but they will help you to simplify your code and gain more flexibility. This post will present you the 10 most important dictionary-tricks in Python!

Read More »
electrical switches
Python

Python Switch-Statement Alternative

Most common programming languages feature the switch-case statement, while Python doesn’t. At first glance, you maybe ask why Python doesn’t support such a common and basic control pattern. This post will explain it and show alternatives for the switch statement!

Read More »