You are viewing a single comment's thread. Return to all comments →
def findPoint(px, py, qx, qy): return [2*qx-px, 2*qy-py] n = int(input()) for i in range(n): px, py, qx, qy = map(int, input().split()) result = findPoint(px, py, qx, qy) print(*result)
Seems like cookies are disabled on this browser, please enable them to open this website
Find the Point
You are viewing a single comment's thread. Return to all comments →
For Python3 Platform
I wrote the code from scratch just to get more practice