Homework 4

Please, look at homework 4 assignments.
os.getcwd() is going to be called at the time that this function is created. So, if you change directories after you import this function, it is going to give you the contents of the original directory, not your current directory. Be very careful with functions as input defaults, and only use them if you know you want the input to be the result at the time of creation only.