Variables, Types, and Operations

Create variables, then meet the types one by one, from numbers and strings to booleans and the list that keeps tripping up beginners.

Articles

1

Creating and Using Variables in Python

Python is so simple it has no special rule for creating a variable. A variable appears automatically the moment you assign a value to a name.

2

Getting to Know Data Types in Python 3

A data type is the attribute that spells out which operations can be done to a variable.

3

Numeric Data Types in Python 3

Python has several numeric data types, such as int, float, and complex. Here is how each one behaves.

4

String Data Types in Python 3

A string in Python is a data type that holds one character or a run of them, and quotation marks are what mark it.

5

Boolean Data Types in Python 3

A boolean is a data type that holds only 2 values, true and false. It earns its keep once you work with control structures.

6

List Data Types in Python 3

In Python, a list is a data type that can hold many values. Other languages may be more familiar to you as arrays.

For developers who learn by struggling

© 2026 Inva.dev.