CBSE Class 11 Computer Science
Question 60 of 91
String Manipulation — Question 5
Back to all questions 5
Question Question 1e
What is the result of the following expression?
s ='987654321'
print (s[-1], s[-3])
print (s[-3:], s[:-3])
print (s[-100:-3], s[-100:3])Answer
1 3
321 987654
987654 987