A teammate wants to test a scenario where the first day had 0 sales. Take the first week of sales as a separate copy, set its first value to 0, and store the original sales[0] in result (it must still be 1200).
import numpy as np sales = np.array([1200, 1350, 980, 1500, 1720, 2100, 1900, 1250, 1400, 1010, 1580, 1800, 2250, 2050]) costs = np.array([800, 850, 700, 900, 1000, 1200, 1100, 820, 870, 720, 950, 1050, 1300, 1150])
Store your final answer in a variable named result.
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.