$ ./guess_the_languageProblem Solving — fill the blank
Problem Solving — fill the blank · easy · #69

Fill in the string method.

parts = 'a-b-c'.____('-')  # -> ['a', 'b', 'c']

Answer: split (also accepted: split)

split cuts the string on each separator.
Play Problem Solving ▸