input: Write a function to format a string by converting it to title case.
  assert format_string("hello world") == "Hello World"
  assert format_string("PYTHON programming") == "Python Programming"
  assert format_string("data SCIENCE") == "Data Science"
output: def format_string(s):
      return s.title()