summaryrefslogtreecommitdiffstats
path: root/Demo/scripts/pi.py
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/scripts/pi.py')
-rwxr-xr-xDemo/scripts/pi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/scripts/pi.py b/Demo/scripts/pi.py
index 5e19db6..74a66a7 100755
--- a/Demo/scripts/pi.py
+++ b/Demo/scripts/pi.py
@@ -19,7 +19,7 @@ def main():
# Print common digits
d, d1 = a/b, a1/b1
#print a, b, a1, b1
- while d = d1:
+ while d == d1:
# Use write() to avoid spaces between the digits
sys.stdout.write(`int(d)`)
# Flush so the output is seen immediately