Mirror pair usernames

Write codeEasy10 min

Your task

A community site awards a 'mirror pair' badge when one username is exactly the reverse of another, ignoring letter case. Given two usernames a and b (ASCII letters and digits only), return True if reversing a and comparing case-insensitively gives b, and False otherwise. For example, 'Dev' and 'VED' form a mirror pair, but 'abc' and 'abc' do not.

Examples

is_mirror_pair(a: str, b: str) -> bool
Example 1
Inputis_mirror_pair("Dev", "VED")
OutputTrue