Exercise: Unpacking a tuple
Here, we have a tuple containing personal information. Use unpacking to extract the values from the tuple and assign them to variables named name, age, and job.
data = ('John', 25, 'Developer')
# add your code here...
print(name) # expected: John
print(age) # expected: 25
print(job) # expected: Developer
Python
Setting up Python environment...
Output