Mega Code Archive
Categories
/
Python Tutorial
/
String
Get the final index of our string is
aString = 'abcd' final_index = len(aString) - 1