Write next_palindrome(n) returning the smallest palindrome number strictly greater than n.
next_palindrome(n)
next_palindrome(123) → 131
next_palindrome(9) → 11
Submit runs 5 tests, including hidden edge cases.
Run your code to see the output here.