Question: Python 4. Implement a function number Logger. The function will ask the user to enter a series of numbers separated by a comma. The function
4. Implement a function number Logger. The function will ask the user to enter a series of numbers separated by a comma. The function will check each number and append every number that is greater than or equal to the second parameter to the file.. You must catch errors that occur when opening the file. The following shows what the results of several runs of the function on one file : >>> numberLogger ('1.txt',5) Please enter a list of numbers seperated by a comma: 1,2,3,4,5,6,7,8,9 >>> numberLogger('2.txt',50) Please enter a list of numbers seperated by a comma: 20,50,100
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
