def lettre_chiffre(x):
    """:returns: the digit correspondence for letter x"""
    assert 'a' <= x <= 'z'
    return t9[ord(x)-ord('a')]
dataset/ETHPy150Open jilljenn/tryalgo/tryalgo/predictive_text.py/lettre_chiffre/original