Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
calendar module solution in Clear category for The Most Frequent Weekdays by David_Jones
from calendar import day_name, isleap, weekday
def most_frequent_days(year):
return [day_name[i] for i in sorted(weekday(year, 1, k+1)
for k in range(1+isleap(year)))]
June 20, 2019