SciPy - Basics and Scientific Computing
Identify the error in this code using SciPy and NumPy:
import numpy as np from scipy import optimize x = np.array([1, 2, 3]) result = optimize.minimize(np.sum, x) print(result.fun)
