Post

@PythonPr Answer: C) 0 0
The range(1) function generates a sequence of numbers starting from 0 up to, but not including, 1. Therefore, it only produces the value 0.
The outer loop for i in range(1) runs once, with i assigned the value of 0.
Inside the first loop iteration, the
English

The answer is c
range(1) produces only one value: 0
Outer loop: i = 0
Inner loop: j = 0
print(i, j) runs once
This is explained differently but same reasoning as my control logic in Psyce the control logic by contrast is a topological loop, not a syntactic one.
The control system therefore operates in a continuous cyclic steady state, not a terminating computation as you have presented
English

@PythonPr Answer: 0 0
range(1) iterates once, starting from 0 — so both i and j are 0.
English

@PythonPr C. The two ranges will print the first index values (0) but can’t print 1.
English



























