From 635360137c14d785ccbea17d4a93f49418c8ca69 Mon Sep 17 00:00:00 2001 From: geno Date: Wed, 17 Jul 2024 20:12:29 +0200 Subject: fixed: counter not incrementing if the operation is an atom --- test/2f.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/2f.py (limited to 'test/2f.py') 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) -- cgit v1.2.3-18-g5258