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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!