Python_2_Examples_and_Notes/02_tuples_vars.py

15 lines
172 B
Python
Raw Permalink Normal View History

2017-06-11 19:42:13 +00:00
#!/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