Python Playground - Nearest and next smallest palindrome: Online Interpreter, Compiler & Editor | Sololearn