start = 100
end = 150
count = 0

for s in range(start, end):
    if str(s) == str(s)[::-1]:
        count += 1

print(count)

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: