Created main() function in e019, missed it in the last commit.

git-svn-id: file:///srv/svn/euler@64 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
This commit is contained in:
Correl Roush 2010-05-04 18:41:33 +00:00
parent 12c5dd7875
commit 672eb30f3e

View file

@ -20,6 +20,7 @@ class Day:
def is_leap_year(year): def is_leap_year(year):
return (year % 100 > 0 and year % 4 == 0) or (year % 400 == 0) return (year % 100 > 0 and year % 4 == 0) or (year % 400 == 0)
def main():
year = 1900 year = 1900
# 1/1/1900 was a Monday # 1/1/1900 was a Monday
first_day = Day.MONDAY first_day = Day.MONDAY