BC48 牛牛的线段
思路:
step1:输入两个点;计算距离的平方并打印;
代码如下:
x1,y1 = list(map(int,input().split()))
x2,y2 = list(map(int,input().split()))
L = (x1-x2)**2 + (y1-y2)**2
print(L)
x1,y1 = list(map(int,input().split()))
x2,y2 = list(map(int,input().split()))
L = (x1-x2)**2 + (y1-y2)**2
print(L)