Given a year as input, write a Python to find the starting day of the given year. We will use Python datetime library in order to solve this problem.
Input : 2010 Output :Friday Input :2019 Output :Tuesday
Below is the implementation:
Starting day of year 2010 is Friday
- Python program to calculate age in year
- Python program to print calendar of given year
- Python Program for Program to find area of a circle
- Python Program for Program to find the sum of a Series 1/1! + 2/2! + 3/3! + 4/4! +.......+ n/n!
- Python | Pandas Series.dt.year
- Python | Pandas Period.year
- Python | Pandas Timestamp.year
- Python | Pandas PeriodIndex.year
- Python | Pandas DatetimeIndex.year
- Python program to find IP Address
- Python program to find all possible pairs with given sum
- Python Program to find whether a no is power of two
- Python Program to find sum of array
- Python Program for Find sum of Series with n-th term as n^2 - (n-1)^2
- Python program to find Cumulative sum of a list
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.