human
how to take list as input in seperated with spaces.
assistant
Here is a Python program to take a list as input in separate spaces separated by spaces

import string

def split_list(string: str) -> list:
    """
    Split a string into a list of strings.

    :param string: The string to split.
    :return: A list of strings.
    """
    return string.split()

# Enter the string
string = "hello world"

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

#Example Output
# ['hello', 'world']

#Remember to inspect code for bugs.