summaryrefslogtreecommitdiff
path: root/test/2f.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/2f.py')
-rw-r--r--test/2f.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/2f.py b/test/2f.py
new file mode 100644
index 0000000..d83457b
--- /dev/null
+++ b/test/2f.py
@@ -0,0 +1,10 @@
+
+n = 6
+counter = 1
+result = 1
+
+while n - 1 == counter:
+ result = result * counter
+ counter = counter - 1
+
+print(result)