Python supprime le dernier caractère de la chaîne
str = "string"
str = str[:-1] # Returns "strin"
Batman
str = "string"
str = str[:-1] # Returns "strin"
st = "abcdefghij"
st = st[:-1] // Returns string with last character removed
foo = foo[:-n]