Incorrect. If the y-coordinates are the same, then the line is horizontal and the slope is 0. If the x-coordinates are the same, then the line is vertical and the slope is undefined.