Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Define a python function day_of_week, which displays the day name for a given date supplied in the form (day,month,year).

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
Source by sourcecodeera.com #
 
PREVIOUS NEXT
Tagged: #Define #python #function #displays #day #date #supplied #form
ADD COMMENT
Topic
Name
7+2 =