1st = "abcdefghij"
2st = st[:-1] # Returns string with last character removed
1string = "Hello World"
2string = string[:-1] # This overwrite the string to have the last letter removed.
3print(string)# Then we print the variable string
1str = "string_example"
2str = str[:-1] # -> returns "string_exampl" (-> without the "e")