23 lines
438 B
Markdown
23 lines
438 B
Markdown
|
# day-inator
|
||
|
|
||
|
Script to practice the [Doomsday algorithm](https://www.timeanddate.com/date/doomsday-rule.html).
|
||
|
You are provided a random date, and are asked to determine its weekday.
|
||
|
|
||
|
See the script source code for more information.
|
||
|
|
||
|
Example usage:
|
||
|
|
||
|
```
|
||
|
$ python day_inator.py
|
||
|
|
||
|
Day-Inator 2000
|
||
|
---------------
|
||
|
|
||
|
Use 1-7 for Mon-Sun. See script docstring for more information.
|
||
|
|
||
|
2037-11-18
|
||
|
Guess: 3
|
||
|
Correct.
|
||
|
Took 22 seconds with 1 try.
|
||
|
```
|