There are at least 3 ways to do a square root in Python: math.sqrt, ... best of 3: 0.445 usec per loop $ python -mtimeit -s"from math import sqrt; ...
確定! 回上一頁