Question: Python programming language 3. Write down the dataset that can be used to test the correctness of below computer program. (8 marks) x1-eval (input (x1?)

Python programming language
3. Write down the dataset that can be used to test the correctness of below computer program. (8 marks) x1-eval (input ("x1?") ) yl-eval (input ("yl?") ) x2-eval (input ("x2?") ) y2-eval (input ("y2?") ) if x1--x2: print("Cannot calculate") if yl -y2 else: else: print ("Horizontal") m= (y2-y1) / (x2-x1) print ("Slope is ",m)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
