10 XP challenge

Remove a Chosen Character

easy
Build it yourself · 6 min
1 Learn2 Predict3 Solve

Task
Your mission

Return message with every occurrence of removed deleted. Matching is case-sensitive. message has 0 to 40 ASCII characters; removed is exactly one ASCII character.

Examples

InputReturn
message = "banana", removed = "a"

answer: "" → "b" → "bn" → "bnn". The result is "bnn".

"bnn"
message = "", removed = "x"""

Your code

Write your answer inside Solution, then use return to send it back.

Try examples runs the public examples. Check my code checks your full answer and saves your completion.