Will the following code raise an exception?

No - because the else statement will not be executedYes - Python will check even code which isn't executed for exceptions

No - because the else statement will not be executed.