For this assignment these were my instructions:
Write a function that receives four parameters: x1, y1, x2, y2 which are all floating point values.
The function is called distance and returns (float) the distance between x1,y1 and x2,y2 on the cartesian coordinate plane.
This is what I came up with: