I\'m a newbie to Python and currently learning Control Flow commands like if, else, etc.
if
else
The if statement is working all fine
In IDLE and the interactive python, you entered two consecutive CRLF which brings you out of the if statement. It's the problem of IDLE or interactive python. It will be ok when you using any kind of editor, just make sure your indentation is right.