human
Write me a Python code for storing elements of a list to string.
assistant
Here is a Python code for storing elements of a list to string

import numpy as np

def list_to_string(l):
    """
    Convert a list to a string
    """
    return "[" + ", ".join([str(i) for i in l]) + "]"

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

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

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

#Remember to inspect code for bugs.