Create two functions: is_prefix(word, prefix-) and is_suffix(word, -suffix).
is_prefix should return true if it begins with the prefix argument.is_suffix should return true if it ends with the suffix argument.Otherwise return false.
is_prefix("automation", "auto-") ➞ true
is_suffix("arachnophobia", "-phobia") ➞ true
is_prefix("retrospect", "sub-") ➞ false
is_suffix("vocation", "-logy") ➞ falseThe prefix and suffix arguments have dashes - in them.