Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Tiny solution in Clear category for Pawn Brotherhood by R2R
def safe_pawns(pawns):
p = [(ord(c.upper()), int(r)) for c,r in pawns]
return sum((c-1,r-1) in p or (c+1,r-1) in p for c,r in p)
March 27, 2017
Comments: