Python_2_Examples_and_Notes/02_tuples_vars.py

15 lines
172 B
Python
Executable File

#!/usr/bin/python
# -*- coding: utf-8 -*-
tuple_variable = tuple(["1","2","3"])
print tuple_variable
one, two, three = tuple_variable
print one
print two
print three