Pop Function In Python Strings