Exercise 6.19 gives a function for testing whether three points are on the same line. Write the following function to test whether all the points in the points list are on the same line:def sameLine(points):Write a program that prompts the user to enter five points and displays whether they are on the same line.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here