Question: In python I need two function definitions, the first function reads the necessary values from a file that returns the results of calling the helper
In python
I need two function definitions, the first function reads the necessary values from a file that returns the results of calling the helper function
the helper function would process what has been requested
1. The first function has a single parameter, which would be the name of the file
In this file there are only two lines, the first line would contain a list of numbers, that have been seperated by white space and the second line has a number which would be the "threshold"
These numbers can be assume to be all integers
This function would use the two values as input arguments for the helper function.
2.The helper function would take a list of the numbers and the threshold and would create a new list that contains the numbers that are greater than the given threshold.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
