do math in python code example Example 1: python math operators number = 2 number += 2 # returns 4 Example 2: how to import math in python import math