Python_3_Examples_and_Notes/020_tuple_var.py

12 lines
151 B
Python

#!/usr/bin/python3
tuple_variable = tuple(["1","2","3"])
print(tuple_variable)
one, two, three = tuple_variable
print(one)
print(two)
print(three)