Nested If Example Program In Python To Check