CBSE Class 12 Computer Science
Question 57 of 120
Review of Python Basics — Question 9
Back to all questionsCPU 1
CPU 2
CPU 3
The for loop iterates over each character in the string '123' using the in operator, and during each iteration, the variable i takes on the value of each character in the string. The print("CPU", i) statement then prints the string "CPU" followed by the value of i during each iteration of the loop.