https://tutorial.eyehunts.com/python/nested-if-statement-in-python/
Nested if statement in Python