Exercise 10 · Chapter: String ManipulationOptional+50 XP
Secret Message Decoder
Read a messy secret message. Clean it up by:
- Stripping extra spaces
- Replacing all
*with spaces - 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.