Home
Python
2D
Application
Buildin Function
Class
Data Structure
Data Type
Database
Development
Dictionary
Event
Exception
File
Function
GUI Pmw
GUI Tk
Language Basics
List
Math
Network
String
System
Thread
Tuple
Utility
XML
Tuple assigment : Tuple Creation « Tuple « Python
Python
Tuple
Tuple Creation
Tuple assigment
[a, b, c] = (1, 2, 3) print a, c (a, b, c) =
"ABC"
print a, c
Related examples in the same category
1.
Tuple sequence
2.
tuple assignment
3.
tuples: swaps values
4.
Create tuple from an integer
5.
A tuple containing an integer