Horje
mid point formula Code Example
mid point formula
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)




Python

Related
assigning multiple values Code Example assigning multiple values Code Example
acess nvidia from docker compose Code Example acess nvidia from docker compose Code Example
ANSHUL Code Example ANSHUL Code Example
perfect numbers python Code Example perfect numbers python Code Example
error popup in django not visible Code Example error popup in django not visible Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8