Data Types and Variables
In this lesson, we will learn about data types and variables in Python.
We'll cover the following...
Variables #
A variable is simply a name to which a value can be assigned.
The simplest way to assign a value to a variable is through the =
operator. Variables allow us to store data so that we can use it later to perform operations in the code.
Data Types #
Python provides three main data types:
- Numbers
- Strings
- Booleans
Let’s cover these in ...