Question: Write a python code that reads the value from a txt file and find the two close number to the target number. The first line

Write a python code that reads the value from a txt file and find the two close number to the target number. The first line shows a list of numbers and the second-line shows the target number. Write a python code that reads the value from a txt file

The output should be: 6, 4

III 1 number.txt 1 6 3 8 9 10 7 4 5 N ON 3

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!