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