4 min readApr 9, 2021
Python quick tip: DICT or IF for getting a value? Performance & memory battle within python standard modules.
Are you afraid of unknowns, and you always stay with only one way of implementation? Or you want to be a better python programmer?
Let me show you on why to use dict instead of if statements in your python program.