Thanks for this.
However when I specifically print indexOfName I get 4 if, say, the name I input is John...?
However when I specifically print indexOfName I get 4 if, say, the name I input is John...?
name = input("provide an example of name: ") indexOfName = len(name) print(indexOfName) lastLetterofName = name[indexOfName - 1] print(lastLetterofName)