Python Course – if-else statement

In Python decisions are made with if statements also called as selection statement. The if block statements are executed if the conditions are ‘true’. In case of false condition, the else block is executed.