Web
Opt
tools
Tuple Methods
Create
Unpacking
Immutability
Methods
Tuple Creation Methods
Creation Method
Literal (1, 2, 3)
tuple() Constructor
Single Element (1,)
Empty Tuple ()
Tuple Unpacking
Enter Tuple Elements
Add Field
Unpacking Variables
Variable names for unpacking (only for unpacking method)
Run Visualization
Console Output
>
Tuple Creation Visualization
literal
Input Elements
Raw Data
1
2
3
4
5
Creation Method
(1, 2, 3, 4, 5)
Direct tuple creation using parentheses
Created Tuple
⏳
Ready to Create
Click "Create Tuple" to see the result
Tuple Creation Properties
5
Input Elements
Immutable
literal
Method
0
Created Elements