Post

@clcoding Answer: 0 1 (on separate lines)
The outer loop run twice, with values of i being 0 and 1 in the iterations.
The inner loop doesn't run because range(0, 0) is an empty range.
So outer loop prints 0 1. Inner loop prints nothing.
Detailed Thread:
x.com/CodingComputin…
Coding Computing Coach@CodingComputing
@clcoding Answer: 0 1 (on separate lines) Solution: Let's see what `range` does. If range is used with 2 integer arguments, here is how it works: range( start, stop ) gives an iterable from `start` up to `stop`. The `stop` is NOT included in the iterable. Thus, range(0, 2) is 0, 1 +
English

@CodingComputing @clcoding Good explanations, so simple to understand! 👍👍👍
English

