In python tuples, what is the syntax of the slicing operator?

22. In python tuples, what is the syntax of the slicing operator?

  1. Tuple[start:end]
  2. Tuple[start: end:steps]
  3. Only A
  4. Only B
  5. 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.


Comments and Discussions!









Copyright © 2023 www.includehelp.com. All rights reserved.