Multiple Choice
What are the values that the variable num contains through the iterations of the following for loop? for num in range(4)
A) 1, 2, 3, 4
B) 0, 1, 2, 3, 4
C) 1, 2, 3
D) 0, 1, 2, 3
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q1: The integrity of a program's output is
Q7: When will the following loop terminate? while
Q10: To get the total number of iterations
Q11: In Python, an infinite loop usually occurs
Q16: What is the structure that causes a
Q22: The while loop is known as a(n)
Q23: A(n)_ is a special value that marks
Q27: Which of the following represents an example
Q29: In Python, a comma-separated sequence of data
Q35: The _ function is a built-in function