Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

midpoint

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)
 
PREVIOUS NEXT
Tagged: #midpoint
ADD COMMENT
Topic
Name
6+5 =