subtract 2 elements of a list python using math module code example Example: subtract python import numpy as np np.subtract(1.0, 4.0)