math.sqrt(x) 比 math.pow(x, 0.5) 或 x ** 0.5 *快,*但結果的精度是相同的。 cmath 模組與 math 模組非常相似,除了它可以計算複數並且其所有結果都 ...
確定! 回上一頁