Lecture 3 Conditional Statements and Loops
Lecture 3 Conditional Statements and Loops
• Things to Remember :
• if is in lower case
• There is a colon after the Boolean expression
• Body of if should be indented
• Can contain a single or multiple statements in the body
• Example
The pass statement is a useful tool for avoiding errors and for creating
placeholders for future code.