summaryrefslogtreecommitdiff
path: root/test/2c.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/2c.py')
-rw-r--r--test/2c.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/2c.py b/test/2c.py
new file mode 100644
index 0000000..459cf8c
--- /dev/null
+++ b/test/2c.py
@@ -0,0 +1,13 @@
+n = [0,0,0,0,0]
+x = 3
+y = 7
+c = 0
+m = 1
+while y > 1:
+ tmp = 2 * x + y
+ m = m * tmp
+ y = y - 1
+for i in n:
+ g = 2 * m + i
+ c = c + i + g
+print(m + c)