Write a function called distance-from-target


Problem

Write a function called distance_from_target that takes 2 parameters, a filename and a target number, and returns a list containing the result of the following subtractions: the target number minus the sum of the numbers on each line. The values in the list should be the same order as the rows in the file. The filename will refer to a CS'U' [comma separated value} file containing numbers separated by commas {each line can contain a different amount of values]. For instance, if the contents of a file are.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write a function called distance-from-target
Reference No:- TGS03277334

Expected delivery within 24 Hours