p
y
c
h
a
l
l
e
n
g
e
r
Home
Intermediate Python
Working With Iterables
Pair Lists with zip()
Pair Lists with zip()
Use the zip() function to pair the students and their scores into a list of tuples called student_scores.
Premium
reset
def greet(name): return f"Hello, {name}!" print(greet("Erik"))
Python
Setting up Python environment...
Output