Question 1
In a nested tuple (a tuple containing tuples as elements), how do you access an element within an inner tuple?
Question 2
What is the result of the expression?
Question 3
What happens if you try to access an element at an index that is out of range in a tuple?
Question 4
How can you access multiple elements from a tuple using slicing?
Question 5
To access elements in a tuple, is it necessary for the elements to be of the same data type?
Question 6
What is the purpose of using negative indices when accessing tuple elements?
Question 7
How do you access the first element of a tuple in python?
Question 8
In python, can you use variables as indices to access tuple elements?
Question 9
Which of the following is the correct way to access the last element of a tuple without knowing its length?
Question 10
Which of the following is an incorrect way to access an element in a tuple?