Changes

Jump to: navigation, search

OPS435 Python Assignment 2 A

319 bytes added, 02:33, 29 March 2018
no edit summary
If there is too few or too many command line parameters given, display the proper usage.
== Program structure ==
Your program code should all be in a single python file with at least two functions, one called tomorrowyesterday() and the other called yesterdaytomorrow().:
* The yesterday() function will take a date in "YYYYMMDD" format and return the date of the previous day in the same format. * The tomorrow() function will take a date in "YYYYMMDD" format and return the date of the next day in the same format. Next paragraph is a sample python code for the tomorrow() function. === Sample code for the tomorrow() function ===
<pre>
# echo the date in YYYYMMDD after the current day
1,760
edits

Navigation menu