Loading…
Given strings = [' hello ',' world '], remove leading and trailing whitespace from each string so the final list matches the expected output.
Create a free account to save your progress and reveal the worked answer for this free exercise. The complete practice library is available with Practice Pass or Mastery.
Create a free account to save your progress and reveal the worked answer for this free exercise. The complete practice library is available with Practice Pass or Mastery.