Human: storing elements of a list to string. Assistant: 
Here is a Python function for storing elements of a list to string

import re

def to_string(list):
        """
        Converts a list to a string.
        """
        return "[" + ", ".join([str(x) for x in list]) + "]"

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

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

#Example Output
# [1, 2, 3]

#Remember to inspect code for bugs.