Open main menu

CDOT Wiki β

Changes

OPS445 Online Assignment 1

1 byte removed, 12:10, 5 February 2022
m
Command Line Argument to be supported
=== Command Line Argument to be supported ===
* You will are provided with a file called assign1.py.
* Be sure that this python script has your name and student_id set inside the docstring.
* Your python script must support one or two command -line arguments only: the first should be a valid date in DD-MM-YYYY format and the second an integer (negative or positive).
* If there are no arguments, more than two arguments, or an invalid date, your script should display the correct usage message and exit.
572
edits