백준 3009 Python 솔루션

안녕하세요 백준 #3009 파이썬 솔루션 points = () for i in range(3): x, y = map(int, input().split()) points.append((x, y)) x_coords = (point(0) for point in points) y_coords = (point(1) for point in points) for i in range(2): if x_coords.count(x_coords(i)) == 1: x = x_coords(i) if y_coords.count(y_coords(i)) == 1: y = y_coords(i) print(x, y) 위의 코드에서 … Read more