Computer Science

The last index number of string is (length-1) or -1.

Python String Manipulation

1 Like

Answer

True

Reason — The last index of a string is (length - 1). Strings also support negative indexing, where -1 refers to the last character.

Answered By

1 Like


Related Questions