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