words = ['бульба', "корова", "ананас", "зелений"]

new_list = list(map(lambda word: word[-1], words))

print(new_list)

6917265dadbb8666e44779791248a0d441cb59bc
<mask token>

<mask token>
print(new_list)

words = ['бульба', 'корова', 'ананас', 'зелений']
new_list = list(map(lambda word: word[-1], words))
print(new_list)

words = ['бульба', "корова", "ананас", "зелений"]

new_list = list(map(lambda word: word[-1], words))

print(new_list)
