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

Fill in the method that joins a list into a string.

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

Answer: join (also accepted: join)

The separator string joins the iterable's items.
Play Problem Solving ▸