0 out of 464 challenges solved

String to List Split

Write a Python function `string_to_list` that takes a single string as input and returns a list of strings, where the input string is split on the space character.

#### Example Usage
```python [main.nopy]
string_to_list("python programming")
# Output: ['python', 'programming']

string_to_list("lists tuples strings")
# Output: ['lists', 'tuples', 'strings']

string_to_list("write a program")
# Output: ['write', 'a', 'program']
```
def string_to_list(string):
    """
    Convert a string to a list of strings split on the space character.

    Args:
        string (str): The input string to be split.

    Returns:
        list: A list of strings split from the input string.
    """
    # Split the string on spaces and return the result
    pass  # Replace this with your implementation