1,760
edits
Changes
→Overview
When making back up of data files or log files, it is a very common practice to name the backup directories and/or files based on the date the backup was done. In order to restore or locate the directory/file, we often need to find out the backup date from today's date.
The computation computational task for this assignment is to design an algorithm and write a python script according to you your algorithm with appropriate functions. The script will should take a date in the "YYYYMMDD" format and the number of day days before or after the given date as the command line arguments, calculate and output to the standard output data channel the requested targeted date which is the number of day before or after the given date in the same format.
== Coding Standard ==
Your python script must follow the following coding guide:
* [https://www.python.org/dev/peps/pep-0008/ PEP-8 -- Style Guide for writing Python Code]
== Command Line Argument to be supported ==