Write an algorithm that takes a list of strings as input and returns a list of strings that contain two or more words.

[“one”, “two”, “three”, “four”]
user
def two_words(string_list): 
  result = [] 
  for s in string_list: 
    if len(s.split()) >= 2: 
      result.append(s) 
  return result 

string_list = ["one","two","three","four"]

print(two_words(string_list))
# Output: ["two", "three", "four"]
assistant