Skip to content

Commit 20f8d21

Browse files
authoredMay 24, 2017
Merge pull request freeCodeCamp#17 from bgroveben/beginner_math
Beginner Math Challenges added to challenge directory. Not added to challenges.json yet.
2 parents 50eb7b6 + 0af5f1b commit 20f8d21

Some content is hidden

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

54 files changed

+500
-0
lines changed
 

‎challenges/4.1.Addition/lesson.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
## Python Addition
2+
3+
In Python, an integer (int) is one of 3 distinct numeric types.
4+
- https://docs.python.org/3.6/library/stdtypes.html#numeric-types-int-float-complex
5+
6+
In this exercise, you will add two integers using the plus (+) operator.
7+
- https://docs.python.org/3.6/library/operator.html#operator.add
8+
- https://docs.python.org/3/library/operator.html#mapping-operators-to-functions
9+
```
10+
>>> 2 + 2
11+
4
12+
```
13+
14+
**_Instructions:_**
15+
**Change the 0 so that total will equal 20.**
+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
### Modify the code below ###
2+
3+
total = 10 + 0
4+
5+
### Modify the code above ###
6+
7+
print(total)

0 commit comments

Comments
 (0)