Opening the reading…
Opening the reading…
DSA FUNDAMENTALS › MATH BASICS
This is a scratch drill — your code runs, nothing is graded or recorded. No test cases, no expected output, no verdict.
TASK
Complete the program so it determines whether n = 12021 is a palindrome. Preserve original, reverse working, and compare reversed with original after the loop.
OUTPUT
Sample12021 is a palindrome
What a finished answer prints, from the lesson. Nothing has run yet — press Run and this is replaced by your program’s own output.