The Python documentation on pow() states that pow(x,y,z) is computed more efficiently ... import time import math x = 4 y = 2 z = 3 repeat = 1000000 results ...
確定! 回上一頁