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 |
Initial commit
-rw-r--r-- | Makefile | 4 | ||||
-rwxr-xr-x | logseq | 15 |
2 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..63415a1 --- /dev/null +++ b/Makefile @@ -0,0 +1,4 @@ +all: + +clean: + rm -f *~
\ No newline at end of file @@ -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 |