Skip to content

Commit d3c9210

Browse files
committed
tighten week 2 exercise wording
1 parent 5ede70d commit d3c9210

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

‎doc/source/2_programs_in_files.rst

+8-8
Original file line numberDiff line numberDiff line change
@@ -1084,14 +1084,14 @@ already familiar with Git and GitHub then you will also need to work through
10841084

10851085
.. proof:exercise::
10861086
1087-
Create a new Python :term:`package` named :mod:`math_utils` containing a
1088-
:term:`module` called :mod:`primes`. In the :mod:`primes` module define a
1089-
function :func:`isprime` which takes in a single integer argument and
1090-
returns `True` or `False` depending on whether or not the argument is
1091-
prime. There is no need use a sophisticated algorithm, simply checking
1092-
whether the number is zero modulo any of the integers less than its square
1093-
root will be fine. Test your code by running the following in the exercise
1094-
repository:
1087+
In your week 2 exercise repository, create a new Python :term:`package`
1088+
named :mod:`math_utils` containing a :term:`module` called :mod:`primes`.
1089+
In the :mod:`primes` module define a function :func:`isprime` which takes
1090+
in a single integer argument and returns `True` or `False` depending on
1091+
whether or not the argument is prime. There is no need use a sophisticated
1092+
algorithm, simply checking whether the number is zero modulo any of the
1093+
integers less than its square root will be fine. Test your code by running
1094+
the following in the exercise repository:
10951095

10961096
.. code-block:: console
10971097

0 commit comments

Comments
 (0)