Python Control Flow (if, elif, else Statements) | Python Tutorial Ep10

3 years ago
30

In this video, we learn how to use the if, elif, and else statements for control flow in Python. We also talk about what happens if you use 2 if statements in a row, and some other comparison operators.

Subscribe to 💎Datakademy to learn something new everyday! 📲

0:00 - General form of the if, elif, else block
1:58 - if, elif, else in action
3:22 - How many of each statement can we use?
3:42 - What if youy use 2 if statements in a row?
4:26 - Other comparison operators

Loading comments...