Question: what is the slope of a vertical and horizontal line?
Answer: So if the line is vertical the slope is undefined and if the line is horizontal the slope is 0.