Tuple Unpacking Exercise
Question 1 of 5
What will this tuple unpacking code output?
point = (10, 20)
x, y = point
print(f"x={x}, y={y}")x=(10, 20), y=None
x=20, y=10
x=10, y=20
This will cause an error
What will this tuple unpacking code output?
point = (10, 20)
x, y = point
print(f"x={x}, y={y}")x=(10, 20), y=None
x=20, y=10
x=10, y=20
This will cause an error