Python Introducing Dictionaries Introducing Dictionaries Update and Mutate Dictionaries

I just need a refresher

What is the syntax for packing and unpacking tuples? I can't remember. If you can also link the video that goes over that, it would be greatly appreciated. Thanks in advance :)

2 Answers

Scott Bailey
Scott Bailey
13,176 Points

This is where you can find the videos on packing and unpacking.

Packing:

greeting = "Hello", "World", "Yeah"

Unpacking:

first, second, third = greeting
print(first)
print(second)
print(third)

Is this what you're looking for?

Scott Has a great example for you above !