LESSON 2
FOR LOOP & IF STATEMENT
◷ 3 hours to complete
❲▹❳ 5 videos (Total 29m)
☷ 5 interactive readings
✑ 5 exercises (Total 50 questions)
Here, you will learn how to loop through an entire list using just a few lines of code regardless of how long the list is.
You will also learn to write some boolean expressions, which allow you to check any condition of interest. This is useful, especially when performing a conditional if statement.
▸ Lesson 2 Code Summary PDF
Lesson 2 ❮ Lesson List ❮ Top Page
2.1 for Loop ❲▹❳ 6m02s
2.2 List Comprehension ❲▹❳ 4m14s
2.3 Boolean Operators ❲▹❳ 5m39s
2.4 if Statement ❲▹❳ 6m59s
2.5 Looping if Statement ❲▹❳ 6m06s
⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺