Write trim(s) that removes spaces from the start and end of s (spaces in the middle stay).
trim(' hello ')
→ 'hello'trim(' data desk ')
→ 'data desk'Submit runs 4 tests, including hidden edge cases.
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.