C-17-Q091mediumsingle_mcq
The number of times the body of for i in range(1, 6): executes is:
The number of times the body of for i in range(1, 6): executes is:
- a4
- b5
- c6
- d1
ব্যাখ্যা
range(1, 6) produces the values — five numbers — because the upper bound 6 is excluded. Therefore the loop body executes 5 times.