Generate a random number with the specified number of bits. """ _rand = 0. _bytes = bits / / 8 + 8. while (_rand.bit_length() < bits):. try : # Python 3.
確定! 回上一頁