What is the slope of the line that passes through the points 1,3 1,7

If your points are (1,3) and (1,7)

then the slope
= (7-3)/(1-1)
= 4/0

Ahhh, but we can't divide by zero

If you plot the points, you will see that they form a vertical line

The slope of such a line is undefined