https://medium.com/@thedataguy239/14-python-code-blocks-that-make-you-code-like-a-senior-dev-4277c6585b74