human
pass list to format.
assistant
Here is a Python program to pass a list format

import random

def pass_list_to_format(list):
    """
        Pass list to format
    :param list:
    :return:
    """
    return "[" + ", ".join([str(x) for x in list]) + "]"

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

# Calling the function
print((pass_list_to_format(list)))

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

#Remember to inspect code for bugs.