📜  定义一个 python 函数 day_of_week,它显示以 (day,month,year) 形式提供的给定日期的日期名称. - Python 代码示例

📅  最后修改于: 2022-03-11 14:47:16.129000             🧑  作者: Mango

代码示例1
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