the shuffle method of the random module does return None. to print the shuffled list do: L = [1,2,3] random.shuffle(L) # shuffles list in ...
確定! 回上一頁