📅  最后修改于: 2022-03-11 14:45:54.740000             🧑  作者: Mango
string = "this is a string" # Creates the string
splited_string = string.split(" ") # Splits the string by spaces
print(splited_string) # Prints the list to the console
# Output: ['this', 'is', 'a', 'string']