在Python中 n**0.5 # or math.sqrt(n) 当一个数字是一个完美的正方形时被识别?特别是,当我使用 int(n**0.5) # instead of int(n**0.5 + 0.000000001)
確定! 回上一頁