import re
defcheck_sentence(sentence):
# Define the pattern for the sentence starting with 'a-b-c' and ending with 'x-y-z'
pattern = r'^a-b-c.*x-y-z$'# Use regular expression to match the patternif re.match(pattern, sentence):
returnTrueelse:
returnFalse