TOPIC 1: Introduction to Python & Basic Operations

9. Python Variables

In Python, variables are created when you assign a value to it:

Example

Variables in Python:

x = 5
y = "Hello, World!"

Python has no command for declaring a variable.

You will learn more about variables in the Python Variables chapter.