If you are on python 3.3 or above then it already has a built-in function for computing log2(x) import math 'finds log base2 of x' answer ...
確定! 回上一頁