--> Python ∼ Milieu from math import * x1 = 10 y1 = -3 x2 = 2 y2 = 5 m = [(x1+x2)/2 , (y1+y2)/2] print m