Web
Opt
tools
Tuple Unpacking Operations
Unpacking Type
Basic Unpacking (a, b, c = tuple)
Extended Unpacking (a, b, c, d = tuple)
Starred Unpacking (a, *rest = tuple)
Nested Unpacking ((a, b), (c, d) = tuple)
Tuple Elements
Add Element
Unpacking Variables
Add Variable
Run Visualization
Console Output
>
Unpacking Visualization
Basic Unpacking
Original Tuple
Source
1
2
3
4
5
Unpacking Information
Basic Unpacking
Assigns tuple elements to individual variables
Unpacking Result
Unpacking Successful
Unpacking Variables
a
b
c
d
e
Unpacking Properties
5
Tuple Elements
5
Variables
basic
Type
0
Assignments