0

How to count number of sundays (or what ever date) in a month using python?

Need to use this as a part of my python code

5th Feb 2019, 1:26 PM
Balaguru Mamundi
Balaguru Mamundi - avatar
4 Antworten
+ 4
1) No need to thank me, I like to spend my free time doing other people's homework. 2) Feel free to change the code until it does what you expect it to do. Usually you're supposed to show at least some effort before asking others for help. https://www.sololearn.com/Discuss/1316935/welcome-to-sololearn-forum/
6th Feb 2019, 8:20 AM
Anna
Anna - avatar
+ 3
Probably not the most efficient method, but it works... https://code.sololearn.com/ce8mVTmsm8T8/?ref=app
5th Feb 2019, 1:41 PM
Anna
Anna - avatar
- 1
Im getting input (day, month and year) from user...
6th Feb 2019, 8:04 AM
Balaguru Mamundi
Balaguru Mamundi - avatar
- 1
Its not sunday actually.. User can input any day...
6th Feb 2019, 8:04 AM
Balaguru Mamundi
Balaguru Mamundi - avatar