How to remove the last character from a string in Python by using the slicing method

welcome to shbcf.ru