The int() function takes as second argument the base of the number to be converted, which is 2 in the case of binary numbers. a = 79 # Base 2(binary) bin_a = ...
確定! 回上一頁