Find the Missing Letter
Advanced
Let's go on an exciting adventure to find the missing letter in a sequence of letters! Your task is to write a Python function that takes a list of consecutive letters (it could be uppercase or lowercase) and identifies the one letter that got misplaced along the way. The letters will be provided in a sorted order with exactly one missing from the sequence.
You will need to return this missing letter.
Here's how the function should work:
Examples
If the sequence is ['a', 'b', 'd', 'e'], the missing letter is 'c'.
find_missing_letter(['a', 'b', 'd', 'e']) # Returns 'c'
If the sequence is ['P', 'Q', 'R', 'T'], the missing letter is 'S'.
find_missing_letter(['P', 'Q', 'R', 'T']) # Returns 'S'
Have fun finding that sneaky missing letter and happy coding!
Inputs
Arg 1:
["a","b","d","e"]Expected Output
"c"Actual Output