Question: in python make a program to detect the possibility that the file might not exist (since I might give you a faulty filename), but if
in python make a program to detect the possibility that the file might not exist (since I might give you a faulty filename), but if it fails, just end the program with the message: "ERROR: File not found". Assuming that the file exists, read its lines. (A for loop would be handy here.) you may assume that there are no input errors, and also that there are no duplicate values. Save all of the (x, y) pairs that you read from the file. When youre done, sort them all, and print them out, one per line
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
