about | help | code help+videos | done | prefs |
Given two distinct ordered pairs, return whether the line that passes through them is vertical or not vertical. The inputs, redPoint and whitePoint, are lists. Each list contains two elements, the first representing the x coordinate, and the second representing the y coordinate of a point. isVerticalWithLists([-3.0, 7.0], [9.0, 3.0]) → 'not vertical' isVerticalWithLists([4.0, -5.0], [4.0, 8.0]) → 'vertical' isVerticalWithLists([0.0, 0.0], [0.0, 8.0]) → 'vertical' ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 175
Copyright Nick Parlante 2017 - privacy