0 out of 464 challenges solved
Write a Python function `extract_rear` that takes a tuple of strings as input and returns a list containing the last character of each string in the tuple.
#### Example Usage
```python [main.nopy]
print(extract_rear(('Mers', 'for', 'Vers'))) # Output: ['s', 'r', 's']
print(extract_rear(('Avenge', 'for', 'People'))) # Output: ['e', 'r', 'e']
print(extract_rear(('Gotta', 'get', 'go'))) # Output: ['a', 't', 'o']
```
#### Constraints
- The input will always be a tuple of strings.
- Each string in the tuple will have at least one character.def extract_rear(test_tuple):
"""
Extract the last character of each string in the given tuple.
Args:
test_tuple (tuple): A tuple of strings.
Returns:
list: A list containing the last character of each string in the tuple.
"""
# Placeholder for the solution
pass