Write to_snake(s) that replaces every space in s with an underscore _.
to_snake('total sales')
→ 'total_sales'to_snake('one two three')
→ 'one_two_three'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.