Palindromic prime by recursive

for p in range(2,20000):
 if`p`==`p`[::-1]and all(p%d for d in range(2,p)):print p

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top