1 2 3 4 5 6 7 8 9 10 11 12 13 14
#!/usr/bin/env python import sys def main(): i=0 max=pow(10,15) while True: sys.stdout.write("%015d\n"%i) i=(i+1)%max if __name__ == '__main__': main()