Glossary
Conditional
Python conditional statements
Python Conditional is like a fork in the road.
If something is True
, do this, if something is False
, do that.
The main start of the python conditional world is the if
statement.
Python if statements will look at a statement, evaluate if it is True
or False
, and then run different code depending on the outcome.
This if statement is known as a conditional.
Letβs take a look at a python conditional code sample.