Unpack the tuple in Python

Unpacking a tuple means splitting the tuple’s elements into individual variables.

Example:

my_tuple = ('first_value', 'second_value', 'third_value')

first_var, second_var, third_var = my_tuple # unpacking
print(third_var)
Output:
third_value