human
Give me a Python code to split a string of words into a list with each word being a char.
assistant
Here is a Python code to split a string of words into a list with each word being a char

import string

def _split_words(string):
    """Split a string of words into a list with each word being a char."""
    return string.split()

# Enter the string
string = "Hello, world!"

# Calling the function
print((_split_words(string)))

#Example Output
# ['Hello,', 'world!']

#Remember to inspect code for bugs.