Example For Nested If Statement In Python