Fun with Words

Step 4: If the command is "reverse", print the word in reverse.
Hint: List slicing works on strings in the same way that it works on lists.
Last step Next step