Day of the week: Difference between revisions

→‎{{header|Python}}: Simplified the expression by using filter
m (→‎REXX using DATE iso: works with ooRexx)
(→‎{{header|Python}}: Simplified the expression by using filter)
Line 3,311:
# main :: IO ()
def main():
[y for yx in filter(xmasIsSunday, enumFromTo(2008)(2121) if xmasIsSunday(y)]:
print (x)
[y for y in enumFromTo(2008)(2121) if xmasIsSunday(y)]
)
 
 
9,659

edits