Simple Nested If Program In Python