This commit is contained in:
2023-06-26 14:39:24 +02:00
parent 37fd5d0905
commit c36ca9bc84

8
cetvrta.py Normal file
View File

@@ -0,0 +1,8 @@
points = [list(map(int, input().split())) for _ in range(3)]
x = [points[0][0], points[1][0], points[2][0]]
y = [points[0][1], points[1][1], points[2][1]]
xset = list(set(x))
yset = list(set(y))
print(
f"{xset[0] if x.count(xset[0]) == 1 else xset[1]} {yset[0] if y.count(yset[0]) == 1 else yset[1]}"
)