Mcq
Result 321
Which of the following allows looping over a collection in Python?
In Python, the for loop syntax uses the in keyword to iterate over an iterable such as a list, tuple, or range. The range(5) generates a sequence of numbers from 0 to 4, and the loop iterates through each number in that sequence. Option A and C are syntax used...
View Details
/question/mcq/23077