def create_table(src, dst):
    """Create a translation table from two strings.

    Given strings src="ABC" and dst="abc", this returns a table which
    maps 'A' to 'a', 'B' to 'b', and 'C' to 'c'.

    The strings must be of equal length.
    """
    assert len(src) == len(dst)
    return {ord(from_): ord(to) for (from_, to) in zip(src, dst)}