Skip to content

Commit 020c57e

Browse files
authored
Merge pull request #101 from lironmiz/unit7-Ex7.2.3
Create unit7_ex7.2.3.py
2 parents 527e728 + 60183b9 commit 020c57e

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

unit7_ex7.2.3.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# exercise 7.2.3 from unit 7
2+
'''
3+
Here is a piece of code, but it is missing the arguments that are passed to the range function:
4+
5+
for num in range(___, ___, ___):
6+
print(number)
7+
Mark all the options where the values (start, stop, step) will give the following output:
8+
9+
0
10+
-3
11+
-6
12+
-9
13+
'''
14+
15+
# Answer:
16+
# C: (0, -10, -3)
17+
# D: (0, -12, -3)

0 commit comments

Comments
 (0)