Cetvrta
This commit is contained in:
8
cetvrta.py
Normal file
8
cetvrta.py
Normal 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]}"
|
||||
)
|
||||
Reference in New Issue
Block a user