summaryrefslogtreecommitdiff
path: root/impl/systems/generate-fib.py
diff options
context:
space:
mode:
Diffstat (limited to 'impl/systems/generate-fib.py')
-rw-r--r--impl/systems/generate-fib.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/impl/systems/generate-fib.py b/impl/systems/generate-fib.py
new file mode 100644
index 0000000..0263fff
--- /dev/null
+++ b/impl/systems/generate-fib.py
@@ -0,0 +1,6 @@
+
+print 'x0 = 0'
+print 'x1 = 1'
+for i in xrange(10000):
+ #print 'x' + str(i+2) + " = x" + str(i) + " + x" + str(i+1)
+ print 'x%d = x%d + x%d' % (i+2, i, i+1)