Create a function to convert a string to a list using Python.
text = "This is a sentence."
def string_to_list(text):
    lst = text.split()
    return lst

text = "This is a sentence."
print(string_to_list(text))