diff options
author | Martin Možina <martin.mozina@fri.uni-lj.si> | 2016-10-06 12:55:26 +0200 |
---|---|---|
committer | Martin Možina <martin.mozina@fri.uni-lj.si> | 2016-10-06 12:55:26 +0200 |
commit | 969812724912512740dbf037940a9e6770df19ed (patch) | |
tree | 7b738a757a9e425eefac4721b96ee9a482d42f90 /python/problems/introduction/leap_year/en.py | |
parent | 15871f8f3982fc7c5de03a68229235ea616c6419 (diff) |
Added recursion exercises.
Diffstat (limited to 'python/problems/introduction/leap_year/en.py')
-rw-r--r-- | python/problems/introduction/leap_year/en.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/python/problems/introduction/leap_year/en.py b/python/problems/introduction/leap_year/en.py new file mode 100644 index 0000000..a2419f9 --- /dev/null +++ b/python/problems/introduction/leap_year/en.py @@ -0,0 +1,15 @@ +name = '*Leap year' + +description = '''\ +<p>Write a program that reads a number representing a year and determines whether +this is a leap year. A leap year is divisible by 4, but not divisible by 100, +except if it is divisible also by 400. Thence years 2004, 2008, and 2000 are +leap years, while 2005 and 2100 are not.</p>''' + +hint = { + 'plan': '''\ +<p>(translation missing)</p>''', + + 'no_input_call': '''\ +<p>(translation missing)</p>''', +} |