CBSE Class 12 Computer Science
Question 37 of 120
Review of Python Basics — Question 11
Back to all questionsError
Reason — The output of the code will be an error because we cannot directly iterate over an integer object in Python using a for loop. The for loop in Python iterates over iterable objects such as lists, tuples, strings, or dictionaries, but not individual integers