Formula Titik Tengah

import math

x1 = int(input("what is x1: "))
y1 = int(input("what is y1: "))
x2 = int(input("what is x2: "))
y2 = int(input("what is y2: "))

xm = ((x1+x2)/2)

ym = +((y1+y2)/2)
print("the x midpoint is",xm ,"and the y midpoint is", ym)
A_Person