$ ./guess_the_languageProblem Solving — fill the blank
Problem Solving — fill the blank · medium · #49

Fill the string method that breaks text on spaces.

words = sentence.____(" ")

Answer: split (also accepted: split)

str.split(' ') returns a list of words.
Play Problem Solving ▸