Open main menu

CDOT Wiki β

Changes

OPS435 Python Assignment 1 2018 Fall

403 bytes added, 09:32, 2 October 2018
Command Line Argument to be supported
* [https://www.python.org/dev/peps/pep-0008/ PEP-8 -- Style Guide for writing Python Code]
== Command Line Argument to be supported ==
* Name your python script as a1_[student_id].py, where [student_id] is your Seneca email user name.
* Your python script must support two command line arguments: (1) any valid date in YYYYMMDD format, (2) number of days before or after the given date.
* If there are less or more than two command line arguments given on the command line, your script should display the correct usage message and exit.
 
== Required Functions ==
You must have at least the following functions defined in your python program:
1,760
edits