X1253: starOut

Complete the following function. Given aString, return a copy of aString where any character next to a star (*) and all stars themselves are gone.

So input of "ab*cd" yields "ad" and "ab**cd" also yields "ad".

Your Answer:

Reset

Practice a different Python exercise

Feedback

Your feedback will appear here when you check your answer.