Even in base Python you can do the computation in generic form. result = sum(x**2 for x in some_vector) ** 0.5.
確定! 回上一頁