Skip to content
dreamcode
dreamcode
Back to lesson
Practice · Py-enumerate-zip
PredictArrangeFill in
+20 XP on finish
PREDICT · READ BEFORE YOU WRITE

How many times does the print statement execute?

Read the program like the computer would, then call the output before you run anything.

names = ["vega", "rigel"]
brightness = [1, 2, 3]
for name, level in zip(names, brightness):
    print(name, level)