Explore what CodeHS has to offer for districts, schools, and teachers.
Click on one of our programs below to get started coding in the sandbox!
View All
Which of the following code examples correctly demonstrates packing a list?
sprites = ["Dig Dug", "Pooka", "Fygar"] player, monster_one, monster_two = sprites
sprites = ["Dig Dug", "Pooka", "Fygar"] player = monster_one = monster_two = sprites
player = "Dig Dug" monster_one = "Pooka" monster_two = "Fygar" sprites = [player, monster_one, monster_two]
player = "Dig Dug" monster_one = "Pooka" monster_two = "Fygar" sprites = player = monster_one = monster_two