diff --git a/unit7_ex7.2.3.py b/unit7_ex7.2.3.py new file mode 100644 index 0000000..513cd13 --- /dev/null +++ b/unit7_ex7.2.3.py @@ -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)