leap year fixes

This commit is contained in:
lukew3
2020-10-23 13:33:37 -04:00
parent 4205d99974
commit 72e88ac2d9
4 changed files with 107 additions and 104 deletions

View File

@@ -105,3 +105,4 @@ from .power_of_powers import *
from .quotient_of_power_same_base import *
from .quotient_of_power_same_power import *
from .complex_quadratic import *
from .is_leap_year import *

View File

@@ -1,4 +1,4 @@
from .__init__ import *
from .__init__ import *
def IsLeapYear(minNumber=1900, maxNumber=2099):
@@ -15,10 +15,11 @@ def IsLeapYear(minNumber=1900, maxNumber=2099):
solution = "is a leap year"
else:
solution = "is not a leap year"
return problem, solution
is_leap_year = Generator("Leap Year or Not", 102,
is_leap_year = Generator("Leap Year or Not", 101,
"Year y ", "is/not a leap year",
IsLeapYear)
##for readme ## | 102 | Leap Year or Not | Year 1964 | is a leap year | is_leap_year |
IsLeapYear)
# for readme ## | 102 | Leap Year or Not | Year 1964 | is a leap year | is_leap_year |