Storing values from a Python list in separate variables

Coding with Python

🕑 This lesson will take about 5 minutes

Python allows you to easily take the values from a list and store each value in separate variables. The example code shows each of the three values from a list called my_list being copied into three separate variables a, b, and c.