Definieren Sie eine Python -Funktion DAY_OF_WEEEK, die den Tagesnamen für ein bestimmtes Datum in Form (Tag, Monat, Jahr) anzeigt.
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