CBSE Class 12 Computer Science
Question 50 of 105
Python Revision Tour II — Question 11
Back to all questionsTrue
Reason — s[:n] — The slicing of a string starts from index 0 and ends at index n-1.
s[n:] — The slicing of a string starts from index n and continues until the end of the string.
So when we concatenate these two substrings we get original string s.