Python 2 examples taken while learning SPSE
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/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
|
|
|