Conditional statements allow decisions to be made during program execution: will some group of statements be executed or will they be skipped? Conditional statements are also called branching statements because program execution can "branch off" on different paths. The keywords you will learn are
if
,
else
, and
elif
.
if
statement is a decision point in a program; it determines what will execute next. (
Alternative link
)
Or Read: 5.1 - 5.7 And Watch the last three lesson videos in the list above.
Slides: individual slides for viewing , 6-up layout for printing
Questions and Answers: check the answers — after you try them on your own!