From 8c3858b01623f9527b57b13c44ff97c67bafb00b Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sun, 19 Jan 2014 18:41:55 +0200 Subject: Move tests in basic/tests/ up one level preparating to multiple test dirs. --- tests/basics/while1.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tests/basics/while1.py (limited to 'tests/basics/while1.py') diff --git a/tests/basics/while1.py b/tests/basics/while1.py new file mode 100644 index 000000000..a9bb5d279 --- /dev/null +++ b/tests/basics/while1.py @@ -0,0 +1,12 @@ +# basic while loop + +x = 0 +while x < 2: + y = 0 + while y < 2: + z = 0 + while z < 2: + z = z + 1 + print(x, y, z) + y = y + 1 + x = x + 1 -- cgit v1.2.3