← Back to challenges

The Study of Wumbology

PythonMediumstringsformattinglanguage_fundamentals

Instructions

Create a function that flips M's to W's (all uppercase).

Examples

wumbo("I LOVE MAKING CHALLENGES") ➞ "I LOVE WAKING CHALLENGES"

wumbo("MEET ME IN WARSAW") ➞ "WEET WE IN WARSAW"

wumbo("WUMBOLOGY") ➞ "WUWBOLOGY"

Notes

N/A

python3
Loading editor…
⌘ ↡ to run
Walks through the solution with reasoning and edge cases.
Next: Rotate the List by One πŸ”„ β†’