Question: 
Write a function to extract only the rear index element of each string in the given tuple.


Model's Code:
def extract_rear(tpl):
    return [s[-1] for s in tpl]



Sample Correct Code:
def extract_rear(test_tuple):
  res = list(sub[len(sub) - 1] for sub in test_tuple)
  return (res) 


Asserts:
assert extract_rear(('Mers', 'for', 'Vers') ) == ['s', 'r', 's']
assert extract_rear(('Avenge', 'for', 'People') ) == ['e', 'r', 'e']
assert extract_rear(('Gotta', 'get', 'go') ) == ['a', 't', 'o']


Tests:
Test 1 of 3: PASS
Test 2 of 3: PASS
Test 3 of 3: PASS

Test 424 of 974: 309/424 (72.87735849056604%): success