2.2 If Statements
-
Invalid Answer
Vocabulary
Term | Definition |
---|---|
If Statement | An if statement lets you ask a question to the program and only run code if the answer is true. |
1. Python and Console Interaction
2. Conditionals
2.1 Booleans
2.2 If Statements
If Statements
If/Else Statements
If/Else Statement
Check Your Understanding
Exercise: Is It Snowing?
2.3 Comparison Operators
2.4 Logical Operators
2.5 Floating Point Numbers and Rounding
3. Looping
4. Functions and Exceptions
5. Strings
6. Creating and Altering Data Structure
7. Extending Data Structures