human
Can you show me a Python function to return a hash key as a list.
assistant
Here is a Python function to return a hash key as a list

import re

def hash_key_as_list(key):
    """
    Return hash key as a list
    """
    return key.split(',')

# Enter the string
key = "1,2,3"

# Calling the function
print((hash_key_as_list(key)))

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

#Remember to inspect code for bugs.