Remove Second Last Character From String In Python