(square)
return square >> 3
Gets the rank index of the square where `0` is the first rank.
Gets the rank index of the square where `0` is the first rank.
Gets the rank index of the square where 0 is the first rank .
def rank_index(square):
    """Gets the rank index of the square where `0` is the first rank."""
    return square >> 3
def rank_index ( square ) : return square >> 3