- We will use Anacoda (python/R) and Jupyter notebooks ...
- Run jupyter notebook: jupyter notebook
Rules
- Don't panic!
- What are the inputs? 2.1. Defensive Programming -> Check for 2nd date being not before first date. 2.2 Defensive Programming -> Should work on 15 Oct 1582 as the gregorian calendar changed 2.3. How are inputs represented? y1, m1, d1, y2, m2, d2
- What are the outputs? Return a number with the days
- Solve the problem! 3.1. Add examples (will be used for testing). Should add the guard for defensive programming cases.
- Simple mechanical solution
- Don't optimize prematurely! Simple and Correct