0

Program in python to print all the dates of sundays in a paricular year in the format dd.mm.yyyy??

The year is taken as input from the user.The code should have minimum time complexity.

30th Mar 2017, 7:24 PM
Aniket Dutta
Aniket Dutta - avatar
1 Antwort
+ 1
Look through the documentation for python's libraries. You can start with the datetime, time and calendar modules. Those libraries will cover all or most of your needs.
30th Mar 2017, 7:41 PM
Trevor Brick
Trevor Brick - avatar