number. Return True if every digit is still readable after the turn and the result is a **different** number, and False otherwise. Leading zeros after the turn are dropped: 1000 becomes 0001, which is just 1.number=86 → True
Turning 86 over makes the 6 a 9, keeps the 8, and swaps their places: 98, a different number.
number=609 → False
Turned over, 609 still reads 609, so the number is unchanged.
number=17 → False
The digit 7 is unreadable upside down, so the answer is no.
number=86
True
Run checks the first 3 tests in your browser. Submit checks all 122 tests on the server, hidden ones included.