Direction: Choose the correct option
Q1.
What is a tuple in Python?
Direction: Choose the correct option
Q2.
How do you create a tuple with a single element?
Direction: Choose the correct option
Q3.
What is the output of `type((1,2,3))`?
Direction: Choose the correct option
Q4.
Can you modify a tuple after creation?
Direction: Choose the correct option
Q5.
How do you unpack a tuple into variables?
Direction: Choose the correct option
Q6.
What is the output of `(1,2) + (3,4)`?
Direction: Choose the correct option
Q7.
What does `len((1,2,3))` return?
Direction: Choose the correct option
Q8.
Which of the following is a valid tuple?
Direction: Choose the correct option
Q9.
What is the output of `(1,2) * 3`?
Direction: Choose the correct option
Q10.
Why would you use a tuple instead of a list?
