human
Python code to randomize items in a list.
assistant
Here is a Python code to randomize items in a list

import random

def randomize_list(list):
    """Randomize items in a list in-place."""
    for i in range(len(list)):
        j = random.randint(0, i)
        list[i], list[j] = list[j], list[i]

# Enter the list
list1 = [1, 2, 3]

# Calling the function
print((randomize_list(list1)))

# Printing the list
print(list1)

#Example Output
# None
# [2, 3, 1]

#Remember to inspect code for bugs.