Ask a question to get started
Enter to send•Shift+Enter new line
removesuffix( string: str, suffix: str, ) -> str
Remove a suffix from a string.
Backport of str.removesuffix for Python < 3.9
str.removesuffix