Codington
0 of 6 problems solved • 0%

Exercise prompt

Predict the Shortlist

A club copies a slice of its waiting list, then updates a name. Keep track of which list changes.

Predict the output

Which names appear when the two lists are printed?

waiting = ["Kim", "Jo", "Lea"] shortlist = waiting[:2] waiting[0] = "Bo" print(shortlist[0], waiting[0])
What will this code print?