Basic Operators in Python

Completing basic math operations is easier than you may think. Operations like addition, subtraction, multiplication, and division are useful for statistics and completing other tasks.

Addition

Addition can be as easy as typing out your integers and using the addition sign. You can sum all integers in a list.

Subtraction

Python will also subtract numbers, including subtracting from a negative number.

Division

Python is capable of diving your variables, as long as there is a numerical value to them.

Multiplication

To complete the multiplication operation, use the asterisk character.

In order to create an exponent, use double asterisks.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store