# file: InClassAssignment1.py # # This program finds the distance between two given points def main(): print("Hello! Let's find the distance between two points, using the formula") print("distance = sqrt( (x2-x1)^2 + (y2-y1)^2 ).\n") x1 = float(input("Enter the x-coordinate of the FIRST point:")) y1 = float(input("Enter the y-coordinate of the FIRST point:")) print() x2 = # put the appropriate code here y2 = # put the appropriate code here import math distance = # put the appropriate code here print("The distance between points (",x1,",",y1,") and (" \ ,x2,",",y2,") is",distance) main()