You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
should end up with the desired behavior shown above too.
Typically, I don't dedent past the point where the else/elif/except/finally keyword could be placed and still be syntactically correct, but in cases like these where we've already "consumed" the for's (or while's or try's) else, we know that the final else must be meant for the if.
The text was updated successfully, but these errors were encountered:
Minimal code example:
What the code looks like before pressing
enter
:What I want the code to look like after pressing
enter
:What the code actually looks like after pressing
enter
:Also, starting from
should end up with the desired behavior shown above too.
Typically, I don't dedent past the point where the
else/elif/except/finally
keyword could be placed and still be syntactically correct, but in cases like these where we've already "consumed" thefor
's (orwhile
's ortry
's)else
, we know that the finalelse
must be meant for theif
.The text was updated successfully, but these errors were encountered: