Defina uma função python Day_Of_Week, que exibe o nome do dia para uma determinada data fornecida no formulário (dia, mês, ano).

def mostUnlucky():
    x=0
    y=2010
    yearlist=[y for y in range (x,y)]
    mostUnlucky=[]
    for i in yearlist:
        if len(unlucky(i))>=3:
            mostUnlucky=[i]+mostUnlucky
    return mostUnlucky
Healthy Hoopoe