Question: Using Python The mirror image of string vow is string wov, and the mirror image wood is string boow. The mirror image of string bed
Using Python
The mirror image of string vow is string wov, and the mirror image wood is string boow. The mirror image of string bed cannot be represented as a string, however, because the mirror image of e is not a valid character. Develop function mirror() that takes a string and returns its mirror image but only if the mirror image can be represented using letters in the alphabet.
>>> mirror('vow')
'wov'
>>> mirror('wood')
'boow'
>>> mirror('bed')
'INVALID'
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
