CHECK FOR UNDERSTANDING: This loop will run once for each value in the list my_class.

The list value is student and one value from the list my_class each time the loop runs: first "Ken", then "Mark", "Sandy", and finally "Sabrina". The loop stops after the last value.

Each time the loop runs the current value of student is added to the string in_class using +=.

  • Click Run and watch the stage. Then use the code to answer the questions.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE