#NEWLINE# def to_board_coordinates( self , coordinate ) : #NEWLINE# #INDENT# ' Transforms an (x, y) tuple into (a-h, 1-8) tuple.\n        ' #NEWLINE# ( x , y ) = coordinate #NEWLINE# return '{0}{1}' . format ( chr ( ( ord ( 'a' ) + x ) ) , ( y + 1 ) )