Computer Science, asked by nithyasundar2005, 4 months ago

Which of the following is the slicing operator?
(a) { }
(b) [ ]
(c)
(d) ( )

Answers

Answered by ksunil94381
1

The slice operator [n:m] returns the part of the string from the n'th character to the m'th character, including the first but excluding the last. In other words, start with the character at index n and go up to but do not include the character at index m.

Answered by 28626
0

Answer:

(b) [ ]

Explanation:

b is the correct answer

Similar questions