1812. Determine Color of a Chessboard Square Updated: 2024-03-12 1 min read Algorithms , LeetCode On This PageLeetCode problem 1812class Solution: def squareIsWhite(self, coordinates: str) -> bool: return (ord(coordinates[0]) + ord(coordinates[1])) % 2 == 1