https://www.acmicpc.net/problem/3009
import sys
x_list = []
y_list = []
for _ in range(3) :
x,y= map(int,input().split())
x_list.append(x)
y_list.append(y)
for i in range(0,3) :
if x_list.count(x_list[i])==1:
x4 = x_list[i]
if y_list.count(y_list[i])==1:
y4 = y_list[i]
print(x4, y4)
'PROGRAMMING CODE > PYTHON' 카테고리의 다른 글
[BAEKJOON] No.10988 Python (0) | 2023.03.22 |
---|---|
[BAEKJOON] No. 2754 Python (0) | 2023.03.21 |
[BAEKJOON] No. 4101 Python (0) | 2023.03.21 |
[BAEKJOON] No.2480 Python (0) | 2023.03.21 |
[BAEKJOON] No.1934 Python (0) | 2023.03.21 |