Skip to main content
๐Ÿ”ฎ Output PredictionPY Python Medium+20 XP

Zip Function

What does this produce?

Python
names = ["Alice", "Bob"]
ages = [25, 30]
print(list(zip(names, ages)))

๐Ÿ”ฎ What is the output?

Priygop - Leading Professional Development Platform | Expert Courses & Interview Prep