You can download this code by clicking the button below.
This code is now available for download.
Shuffles the elements of the list in place.
Technology Stack : random
Code Type : Function
Code Difficulty : Intermediate
import random
def shuffle_list(items):
"""
Shuffle the elements of the list in place.
"""
random.shuffle(items)
return items