a, b = map(int, input().split())
for i in range(a, b):
if str(i)==str(i)[::-1]: print(i, end=' ')
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
a, b = map(int, input().split())
for i in range(a, b):
if str(i)==str(i)[::-1]: print(i, end=' ')