Write program to enter the days of the week and find out if it is weekday or holiday
Answers
Answered by
0
Explanation:
first mark as brainliest answer and say thanks to my answer then I will edit and give you the correct answer. I promise
Answered by
1
Answer:
# Python program to Find day of
# the week for a given date
import datetime
import calendar
def findDay(date):
born = datetime.datetime.strptime(date, '%d %m %Y').weekday()
return (calendar.day_name[born])
# Driver program
date = '03 02 2019'
print(findDay(date))
Mark as brainliest answer
Similar questions
Math,
3 months ago
World Languages,
3 months ago
Math,
7 months ago
Math,
7 months ago
English,
11 months ago
Environmental Sciences,
11 months ago
Political Science,
11 months ago