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