Twin primes by Vim Lover

r=range
def p(n):return sum(n%i==0 for i in r(2,n))==0
for i in r(3,2000):
 if p(i)&p(i+2):print`i`+','+`i+2`

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

download

return top