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

What goes in the blank?

# add every item of another list
base.____(extra)

Answer: extend (also accepted: extend, extend())

extend() appends each element, unlike append() which adds the list itself.
Play Problem Solving ▸