生成一个k比特长度的随机整数的函数是

生成一个k比特长度的随机整数的函数是

A.random.choice(k)

B.random.shue( k)

C.random. getrandbit(k)

D.random.sample( pop, k)

正确答案是C