randrange(), 元組等。. random.shuffle () 如果你想將一個序列中的元素, 20) #結果永遠是20 #print random.randint(20 python import random def my_ randint ...
確定! 回上一頁