input: Write a python function to extract a specific substring from a given string.
  assert extract_substring("hello world")== 'llo'
  assert extract_substring("abcdefg")== 'cde'
  assert extract_substring("123456789")== '345'
output: def extract_substring(s):
      return s[2:5]