def weekdays(weekday):
    current_locale = locale.getlocale()
if current_locale not in weekdays._days_cache:
    weekdays._days_cache[current_locale] = [datetime.date(2001, 1, i).
        strftime('%A') for i in range(1, 8)]
days = weekdays._days_cache[current_locale]
index = days.index(weekday)
return days[index:] + days[:index]
weekdays._days_cache = {}
print(weekdays('Wednesday'))
Вернуть список дней недели