does pop works on string in python? code example
Example: python string pop
// no pop methode for strings (strings are immutable)
a = "abc"
last_letter = a[-1]
a = a[:-1]
// no pop methode for strings (strings are immutable)
a = "abc"
last_letter = a[-1]
a = a[:-1]