Exerpad
Exercise 10 · Chapter: String ManipulationOptional+50 XP

Secret Message Decoder

Read a messy secret message. Clean it up by:

  1. Stripping extra spaces
  2. Replacing all * with spaces
  3. Converting to lowercase

Print the decoded message.

Example:

Input:

   HELLO*WORLD*FROM*PYTHON

Output:

hello world from python
Need a hint?
3 available · costs 5 XP each
python

Output
Run your code to see the output here.