Python 3:
$ python3 doomsday 0
Year not in range 1..9999
$ python3 doomsday 1
Wednesday
Python 2:
$ python2 doomsday 1
Traceback (most recent call last):
File "doomsday", line 137, in <module>
sys.exit(main(os.path.basename(sys.argv[0])))
File "doomsday", line 132, in main
print(doomsday(args.YEAR).strftime(args.format.strip('"\'')))
ValueError: year=1 is before 1900; the datetime strftime() methods require year >= 1900
**Python 3:**
``` sh
$ python3 doomsday 0
Year not in range 1..9999
$ python3 doomsday 1
Wednesday
```
**Python 2:**
``` pytb
$ python2 doomsday 1
Traceback (most recent call last):
File "doomsday", line 137, in <module>
sys.exit(main(os.path.basename(sys.argv[0])))
File "doomsday", line 132, in main
print(doomsday(args.YEAR).strftime(args.format.strip('"\'')))
ValueError: year=1 is before 1900; the datetime strftime() methods require year >= 1900
```