你好,折线计算那个:
if (t%2==1): d = math.sqrt((y2-y1)**2+(x2-x1)**2)
身份证校验那个
s = s + int(id_num[i])*factor[i] r = s%11