Mirror pair usernames
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) -> boolExample 1
Input
is_mirror_pair("Dev", "VED")Output
True