human
split a list into n parts.
assistant
Here is a Python program to split a list into n parts

import random

def split_list(list, n):
    """
    Split a list into n parts.
    """
    return [list[i::n] for i in range(n)]

# Enter the list
list = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]

# Calling the function
print((split_list(list, 3)))

#Example Output
# [[1, 4, 7, 10], [2, 5, 8], [3, 6, 9]]

#Remember to inspect code for bugs.