- A['P', 'y', 't', 'h', 'o', 'n']
- B('P', 'y', 't', 'h', 'o', 'n')
- C none of the above
- DError
Time Taken:
Correct Answer:
Wrong Answer:
Percentage: %
(30, 40, 50) (10, 20, 30, 40) (40, 50, 60, 70, 80)
To get a sub tuple out of the tuple, we need to specify the range of indexes. We need to specify where to start and where to end the range.
Syntax: tuple[start:end] If the start is missing it takes 0 as the starting index.