Programming Exercises

Find all palindromic numbers between two given numbers.

Medium

Problem Statement

Find all palindromic numbers between two given numbers.

Sample Input

100, 150

Sample Output

[101, 111, 121, 131, 141]

Limits

Time: 2s · Memory: 256 MB

Code Editor
00:00
def palindromic_numbers(): start, end = 100, 150 # Your code here return
Log in or sign up to run or submit your code.Log inSign up
Input
100, 150
Expected Output
[101, 111, 121, 131, 141]