if else vs. Dictionary in Python

You’ve probably used Python dictionaries in the past, but did you know that they can be an alternative to if/else statements? Although Python dictionaries are a pretty common tool, many people don’t know all the ways you can use them to write better code.

Khuyen Tran

Khuyen Tran

Continue reading »
< 1 2 3

© 2020 Datapane. All rights reserved. Terms of Service

0.7.4 (v0.7.4-3-gf71aa8d8)