Remove an Exclamation Mark from the End of String Using Python

The challenge Remove a exclamation mark from the end of string. For a beginner kata, you can assume that the input data is always a string, no need to verify it. Examples Test cases The solution in Python Option 1: Option 2 (using endswith): Option 3 (sim… Read more