#!/usr/bin/env python3 alphabet = list(map(lambda needle: chr(int(needle) + ord('A')), range(0, 26))) print(list(map(lambda (index, needle): alphabet.index(needle), enumerate(list("AA")))))