1,760
edits
Changes
→Overview
# work out an algorithm for producing daily, weekly, and monthly usage reports by user or by remote host based on the information obtained from the 'last' command or any given files which contain similar information as the 'last' command.
# Once you believe you have a workable algorithm, you should then identify the different tasks in your algorithm and any repeated sub-tasks,
# implement your computational solution using a single python script with the proper use of allowed python modules and functions, and finally
# review your working python code to see whether you can improve the interface of each function and facilitate better code re-use (this process is called refactoring).