diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/pattern.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/pattern.py b/tools/pattern.py new file mode 100755 index 0000000..0367698 --- /dev/null +++ b/tools/pattern.py @@ -0,0 +1,12 @@ +#!/usr/bin/env python + +def main(): + i=0 + max=pow(10,15) + while True: + print "%015d"%i, + i=(i+1)%max + + +if __name__ == '__main__': + main() |