diff options
author | Jan Huwald <jh@sotun.de> | 2013-01-07 09:48:37 (GMT) |
---|---|---|
committer | Jan Huwald <jh@sotun.de> | 2013-01-07 09:48:37 (GMT) |
commit | cab8970e9cbab660c9ef74805b7902238b2ea926 (patch) | |
tree | 2333358a6eadd93fc6575681df33dddbc4a35c1b /logseq |
Initial commit
Diffstat (limited to 'logseq')
-rwxr-xr-x | logseq | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -0,0 +1,15 @@ +#!/usr/bin/python + +import sys + +start = float(sys.argv[1]) +if len(sys.argv) > 3: + stop = float(sys.argv[3]) + step = float(sys.argv[2]) +else: + stop = float(sys.argv[2]) + step = 2 + +while start <= stop: + print start + start = start * step |