2020/24.py
def adjs(x, y):
        """Get the adjacent tiles to the given coordinate."""
        return (
            (x + 2, y),  # e
            (x - 2, y),  # w
            (x + 1, y + 1),  # ne
            (x + 1, y - 1),  # se
            (x - 1, y + 1),  # nw
            (x - 1, y - 1),  # sw
        )
Get the adjacent tiles to the given coordinate.
Get the adjacent tiles to the given coordinate.
Get the adjacent tiles to the given coordinate .
def adjs(x, y):
        return (
            (x + 2, y),  
            (x - 2, y),  
            (x + 1, y + 1),  
            (x + 1, y - 1),  
            (x - 1, y + 1),  
            (x - 1, y - 1),  
        )
def adjs ( x , y ) : return ( ( x + 2 , y ) , ( x - 2 , y ) , ( x + 1 , y + 1 ) , ( x + 1 , y - 1 ) , ( x - 1 , y + 1 ) , ( x - 1 , y - 1 ) , )
Get the adjacent tiles to the given coordinate.
Get the adjacent tiles to the given coordinate .
"""Get the adjacent tiles to the given coordinate.""" # e # w # ne # se # nw # sw
x
y