Practicing Python (using Codewars)
I'm using Codewars as means of practicing what I've learned and how I apply it. However I encountered a challenge where I passed the test, but there's an error?
I don't see anywhere I can ask for help if I get stuck there. If I just copy and paste everything here should my code work for anyone to help me debug?
6 comments · 100% upvoted · other discussions
Objective: Remove n exclamation marks in the sentence from left to right. n is positive integer.
Here are the tests for this challenge:
ASIC_SP 2 points · Apr 2018 · learnbyexample
also, there is already a string method to do this, check https://docs.python.org/3/library/stdtypes.html#string-methods