Post

@PythonPr 'Oops' will print. The first if statement is True since 3 is greater than 2. Then, the 2nd if statement can run (since the 1st one is True). However, the 2nd statement is False since 3 is not greater than 5. So, the else statement executes and prints 'Oops'
English

@PythonPr Oops — outer if is True, inner condition fails, so else runs.
English













