Please enable JavaScript to use CodeHS

CodeHS Glossary


Packing Python

x = 0
y = 1
z = 2

my_list = [x, y, z]
print my_list # will print [0, 1, 2]