- 1
First day of month in Python. How?
Greetings. I'm trying to create a Python code which asks the user for a month and year and then gives the 1st day of that month and where it falls in that week eg: Enter the month: March. (user inputs) Enter the year : 2012. (user inputs) The 1st of March 2012 is a Thursday (the output) I wrote a leap year program which i think might come in handy for the above program: https://code.sololearn.com/cKa3s3dBdy0q/?ref=app Thanks, for your time. And enjoy your day.
2 Respuestas
0
Thanks so much!
I'll definitely take a look at that code.