Learn Python Programming 3: If Statements (Conditions)

Опубликовано: 14 Октябрь 2024
на канале: Creel
1,097
43

In this video we'll look at if statements.

They allow the code to branch based on a condition. They can be combined together into complicated nested if/elif/else blocks. We'll also look at the comparison operators.

I didn't mention in the vid but if/elif/else always follow the same order. They start with "if", followed by any number of "elif" and optionally a single "else" at the end.


Patreon:
  / whatsacreel  

FaceBook:
  / whatsacreel  


Music Channel:
   / @creelsmusic5814