Python 3 for Windows Administrators (early access)
Installing Python on Windows • 17min
0 / 3 lessons complete
Section Overview
Free lesson
Text | 1 min
Downloading and Installing Python on Windows
Free lesson
Text | 8 min
Installing and configuring VS Code for Python
Free lesson
Text | 8 min
Python Basics • 27min
0 / 6 lessons complete
Executing Python Code
Free lesson
Text | 3 min
Python 3 Syntax
Free lesson
Text | 5 min
Help! Python Keywords
Free lesson
Text | 4 min
Printing to the console!
Text | 6 min
Python Operators
Text | 4 min
Section Review
Quiz | 5 min
Python Variables • 5min
0 / 1 lessons complete
Sign up to access this lesson
Click here to sign up and get access to this lesson!

Saving Progress...
Python operators are used to complete operations with numbers like arithmetic, assignment, comparisons, logical and more.
Here is a table that will explain the python operators:
Operator | Description | Example |
+ | Add | 1 + 1 = 2 |
- | Subtract | 2 - 1 = 1 |
* | Multiply | 2 * 2 = 4 |
/ | Divide | 10 / 4 = 2.5 |
// | Floor division | 10 // 4 = 2 |
% | Modulo | 10 % 4 = 2 |
** | Exponent | 2 ** 4 = 16 |
Feel free to try these examples in the python terminal above! Addition, subtraction, multiplication and division make sense to most people, so let's focus on the more confusing operators here that you might not be familiar with.
Floor Division
Floor division in the simplest of terms divides two numbers then rounds that number down. Since 10 / 4 = 2.5, it will round 2.5 down to 2 like so:
>>> 10 // 4
2
Modulo
The modulus operator will return the remainder of a division. Let's take for example, 10 / 4.
4 * 2 = 8, and the remainder is 2:
>>> 10 % 4
2
To understand this one better I would encourage you to use the Python console above to experiment with the modulo more.
Exponent
This one is pretty simple. 5 ** 5 is read as 5^5, or 5 to the 5th power. So 5*5*5*5*5 = 3125
>>> 5**5
3125
Sign up to access the rest of this lesson
You must either log in or sign up to access this lesson.

Saving Progress...