Creating Tuples Exercise
Question 1 of 5
Which of the following correctly creates a tuple with three elements?
data = (1, 2, 3)No, this creates a list
This will cause an error
Yes, this creates a tuple with three elements
No, this creates a set
Which of the following correctly creates a tuple with three elements?
data = (1, 2, 3)No, this creates a list
This will cause an error
Yes, this creates a tuple with three elements
No, this creates a set