Python Remove Last Char From String

July 25, 2019
str = "Bye!"
value = str[:-1]    # Bye
This work is licensed under a
Creative Commons Attribution-NonCommercial 4.0 International License.