파이썬 29/60
def chessBoardCellColor(cell1, cell2): s1 = set(['A','C','E','G']) s2 = set([1,3,5,7]) x=list(cell1) x[1]=int(x[1]) y=list(cell2) y[1]=int(y[1]) if x[0] in s1: if x[1] in s2: flag_cell1=2 else: flag_cell1=1 else: if x[1] in s2: flag_cell1=1 else: flag_cell1=2 if y[0] in s1: if y[1] in s2: flag_cell2=2 else: flag_cell2=1 else: if y[1] in s2: flag_cell2=1 else: flag_cell2=2 print(flag_cell1,flag_c..