To gain experience using standard library functions
For this lab, you will write a program that tells someone what day of the week a given date is. For example, your program will be able to tell us that October 31, 2024 will fall on a Thursday or that January 1, 1731 was a Monday.
This would be a very hard problem to solve ourselves, but will be made much easier by using the calendar library that comes with Python.
The function from this library we want is called weekday and does just what we want.
Below is an example run of how this program should work:
Month: 10 Day: 26 Year: 1984 10/26/1984 is a Friday.
When you are finished, please submit the .py file for the lab on Canvas. To do so, you'll need to navigate to where you saved the file on your computer.
Copyright © 2023 Ian Finlayson | Licensed under a Attribution-NonCommercial 4.0 International License.