Skip to content
Y
yTube.SITE v8.0.4
media / worlds / tools / internet oddities
YouTube / video information

Learn Python zip() in 3 minutes! ๐Ÿค

Video information, playback and saved actions.

Learn Python zip() in 3 minutes! ๐Ÿค

Description: #python #coding #programming

# zip() = Combines multiple iterables (lists, tuples, sets, dict)
# into a single iterator of tuples.
# Makes managing multiple indices easier.

names = ["Spongebob", "Patrick", "Squidward"]
ages = [30, 35, 50]
jobs = ["Cook", "Unemployed", "Cashier"]

data = zip(names, ages, jobs)

for name, age, job in data:
print(f"{name} is a {age} year old {job}")ย Close description
ย ย ย ย ย ย 
Videos related to "Learn Python zip() in 3 minutes! ๐Ÿค"

Related videos are temporarily unavailable.

Try again, or come back later.