Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Write a Python program that reads keyboard input from the user, whom is asked to

ID: 2313200 • Letter: W

Question

Write a Python program that reads keyboard input from the user, whom is asked to enter an x and y coordinate. The program should define a function, Location(x, y), that takes the user input and outputs the location of the ordered pair on the Cartesian coordinate plane. The possible outputs include: origin, positive y-axis, negative y-axis, positive x-axis, negative x-axis, Quadrant I, Quadrant II, Quadrant III, and Quadrant IV. Some sample output from the program is below: Enter a x-coordinate: 2 Enter a y-coordinate: 2 The location of the ordered pair (x, y) when x = 2 and y = 2 is: Quadrant I.

Explanation / Answer

print("It is at origin")

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote