Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 906957e

Browse files
committedMay 24, 2017
Finish adding beginner math challenges
1 parent d3578d9 commit 906957e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+435
-3
lines changed
 

‎challenges/4.1.Addition/lesson_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ def test_main(self):
88
self.assertEqual(total, 20)
99

1010
# To run the tests from the console:
11-
# Make sure that you are in the 'addition' directory
11+
# Make sure that you are in the '4.1.Addition' directory
1212
# ⇒ python3 -m unittest lesson_tests

‎challenges/4.2.Subtraction/lesson.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@ In Python, an integer (int) is one of 3 distinct numeric types.
66
In this exercise, you will subtract two integers using the minus (-) operator.
77
- https://docs.python.org/3.6/library/operator.html#operator.sub
88
- https://docs.python.org/3/library/operator.html#mapping-operators-to-functions
9+
910
```
1011
>>> 4 - 2
1112
2
1213
```
1314

1415
**_Instructions:_**
15-
**Change the 0 so that total will equal 10.**
16+
**Change the 0 so that total will equal 10.**

0 commit comments

Comments
 (0)
Please sign in to comment.