two kinds of digit by Matthew Wilkes

for x in range(10001):
 if len(set(`x`))==2:print x

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

download

return to the top page