input: Write a python function to extract the first three characters from a string.
  assert extract_first_three_chars("programming") == "pro"
  assert extract_first_three_chars("hello") == "hel"
  assert extract_first_three_chars("hi") == "hi"
output: def extract_first_three_chars(s):
      return s[:3]