Post

@PythonPr It will price 'Oops' as second if condition x>5 will fail but first if condition will be passed
English

@PythonPr The output of the code is "Oops".
The variable 3.
First condition: if x > 2. 3 is greater than 2, the code enters the block.
nested condition: if x > 5. 3 is not greater than 5, it s moves to the else statement.
It executes the code under else, which prints "Oops".
English

@PythonPr Your code has drop shadows so it will not compile.
English


































