Nested If Example Program In Python