21st Mar 2020, 7:13 AM
Serval Toukap Nono
Serval Toukap Nono - avatar
2 Respuestas
+ 1
You can reduce some lines, but generaly Python has a calendar library which can do that. The thing I am confused about is that for year 2020 it works correct, but for year 1 not. You count on that, that a 1.1.1 is Monday (if I'm not mistaken, it should be Saturday if you take it as it is by Julian calendar).
22nd Mar 2020, 9:56 PM
Hrvoje
Hrvoje - avatar
0
Yes that's true I count it just as you said
23rd Mar 2020, 1:36 PM
Serval Toukap Nono
Serval Toukap Nono - avatar