Question: Write a python function that using OS package to find files older than n years. Execute the code using 2 and 5 as

Write a python function that using OS package to find files older than "n" years. Execute the code using 2 and 5 as parameters and submit your program as .py file with your name on top comment as well as output screenshots.
The program must be operating system neutral (i.e. can work across windows as well as *nix)
The function should validate if the input parameters are valid

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 Programming Questions!