Palindromic prime by pankdm

for p in range(2,2e4):\x0d
 if all(p%n for n in range(2,p**.6+1))and`p`==`p`[::-1]:print p

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

download

return top