Linus Sequence by clock

import re
s='1'
exec"s+=`3-int(re.sub(r'(.*)(.)\\1.*',r'\\2',s[::-1]))`;"*999
print s

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

download

return top