Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions unit7_ex7.2.3.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# exercise 7.2.3 from unit 7
'''
Here is a piece of code, but it is missing the arguments that are passed to the range function:

for num in range(___, ___, ___):
print(number)
Mark all the options where the values (start, stop, step) will give the following output:

0
-3
-6
-9
'''

# Answer:
# C: (0, -10, -3)
# D: (0, -12, -3)