We can confirm our results with Numpy 's norm function. ... norm2 = 0 for i in x: norm2 += i ** 2 print(np.sqrt(norm2)). 19.4164878389476.
確定! 回上一頁