Data Types and Variables

In this lesson, we will learn about data types and variables in Python.

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.

Get hands-on with 1200+ tech skills courses.