summaryrefslogtreecommitdiff
path: root/ruby_1_9_3/benchmark/other-lang/tak.py
diff options
context:
space:
mode:
Diffstat (limited to 'ruby_1_9_3/benchmark/other-lang/tak.py')
-rw-r--r--ruby_1_9_3/benchmark/other-lang/tak.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/ruby_1_9_3/benchmark/other-lang/tak.py b/ruby_1_9_3/benchmark/other-lang/tak.py
deleted file mode 100644
index 04f3f6829c..0000000000
--- a/ruby_1_9_3/benchmark/other-lang/tak.py
+++ /dev/null
@@ -1,8 +0,0 @@
-def tak(x, y, z):
- if not(y<x):
- return z
- else:
- return tak(tak(x-1, y, z),
- tak(y-1, z, x),
- tak(z-1, x, y))
-tak(18, 9, 0)