Changes

Jump to: navigation, search

OPS435 Python3 Assignment 1

18 bytes added, 02:17, 17 September 2019
Bonus task
= Bonus task =
There is 10% bonus if your script can also take two dates both in "YYYYMMDDYYYY/MM/DD" format and output the number of days between the given two dates.
e.g.
* Calculate the number of days between "201803012018/03/01" and "201903012019/03/01" python3 a1_rchan.py 20180301 201903012018/03/01 2019/03/01
365
* Calculate the number of days between "201903012019/03/01" and "201803012018/03/01" python3 a1_rchan.py 20190301 201803012019/03/01 2018/03/01
365
1,760
edits

Navigation menu