Basic Data Types
Take a look at basic data types in Python.
We'll cover the following
Boolean
The Boolean data type is a “truth” value of either
True
orFalse
.
These are important Boolean operators ordered by priority (from highest to lowest):
not x
→ “ifx
isFalse
, thenx
, elsey
”x and y
→ “ifx
isFalse
, thenx
, elsey
”x or y
→ “ifx
isFalse
, theny
, elsex
”
Example
Get hands-on with 1400+ tech skills courses.