https://levelup.gitconnected.com/9-python-code-snippets-that-can-be-used-to-solve-everyday-problems-7c1fb8146195