summaryrefslogtreecommitdiff
path: root/test/2b.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/2b.py')
-rw-r--r--test/2b.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/2b.py b/test/2b.py
new file mode 100644
index 0000000..d6d0bb2
--- /dev/null
+++ b/test/2b.py
@@ -0,0 +1,9 @@
+n = 1
+x = 2
+y = 3
+m = 1
+while n + 2 < 2 * x - 3 * y + 50:
+ m = m + n
+ n = n + 1
+
+print(m)