Home »
Python »
Python Tuples MCQs
In python tuples, what is the syntax of the slicing operator?
22. In python tuples, what is the syntax of the slicing operator?
- Tuple[start:end]
- Tuple[start: end:steps]
- Only A
- Only B
- Both A and B
Answer: C) Only A
Explanation:
Tuple[start index :end index ] is the correct syntax of the slicing operator in python tuples.