What is the output of print(list(range(2, 10, 3)))?
Show answerHide answer
Correct answer: (A) [2, 5, 8]
Explanation
Starts at 2, step 3, stops before 10.
Correct answer: (A) [2, 5, 8]
Explanation
Starts at 2, step 3, stops before 10.
This is question 143 of DSSSB TGT Computer Science Full Mock Test 5. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.