Write a function that takes a two-digit number and determines if it's the largest of two possible digit swaps.
To illustrate:
largest_swap(27) ➞ false
largest_swap(43) ➞ trueIf 27 is our input, we should return false because swapping the digits gives us 72, and 72 > 27. On the other hand, swapping 43 gives us 34, and 43 > 34.
largest_swap(14) ➞ false
largest_swap(53) ➞ true
largest_swap(99) ➞ trueNumbers with two identical digits (third example) should yield true (you can't do better).