python how to remove last letter from string

21

#Removing last three characters
foo = foo[:-3]

Comments

Submit
0 Comments