engine.py
def convert_position_to_engine_format(position):
    """Convert conventional position format to engine format.
    position can be for example "a1". For example "a1" is converted to 0.
    """
    return "abcdefgh".find(position[0]) + (int(position[1]) - 1) * 8
Convert conventional position format to engine format.
    position can be for example "a1". For example "a1" is converted to 0.
    
Convert conventional position format to engine format.
position can be for example "a1". For example "a1" is converted to 0.
Convert conventional position format to engine format . position can be for example " a1 " . For example " a1 " is converted to 0 .
def convert_position_to_engine_format(position):
    return "abcdefgh".find(position[0]) + (int(position[1]) - 1) * 8
def convert_position_to_engine_format ( position ) : return "abcdefgh" . find ( position [ 0 ] ) + ( int ( position [ 1 ] ) - 1 ) * 8
Convert conventional position format to engine format.
Convert conventional position format to engine format .
"""Convert conventional position format to engine format.
    position can be for example "a1". For example "a1" is converted to 0.
    """
position