Numbers and Math in Python

This tutorial explains how to use numbers and math functions in Python. To do math in Python, you can use a range of arithmetic operators including:

  • + for addition
  • – for subtraction
  • * for multiplication
  • / for division
  • % for modulus
  • **2 for squared, **3 for cubed, and so on

For example 5*5 will return the value 25. As you can see, it is just like writing any math expression.

View the video below or click here to view it on YouTube.

Leave a Reply