how to subtract a number from all elements in a numpy array code example Example: python subtract every element in list a = [x - 13 for x in a]