summaryrefslogtreecommitdiff
path: root/testing_and_debugging/script.rst
diff options
context:
space:
mode:
authorPuneeth Chaganti2011-08-26 12:42:17 +0530
committerPuneeth Chaganti2011-08-26 12:42:17 +0530
commite369e2f72f0b9befd2a60ada3c227716c8517558 (patch)
treecc025ce5143a62b2802dfd8a16774db0d470718c /testing_and_debugging/script.rst
parentc20b6416c58959cdf4d3700420516d0eb075b388 (diff)
downloadst-scripts-e369e2f72f0b9befd2a60ada3c227716c8517558.tar.gz
st-scripts-e369e2f72f0b9befd2a60ada3c227716c8517558.tar.bz2
st-scripts-e369e2f72f0b9befd2a60ada3c227716c8517558.zip
Fix indentation error in testing_and_debugging/script.rst
Diffstat (limited to 'testing_and_debugging/script.rst')
-rw-r--r--testing_and_debugging/script.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/testing_and_debugging/script.rst b/testing_and_debugging/script.rst
index 56b2b8f..28bc9f1 100644
--- a/testing_and_debugging/script.rst
+++ b/testing_and_debugging/script.rst
@@ -275,7 +275,7 @@ The solution is on your screen.
{{{ Switch to slide solution 2 }}}
def gcd(a, b):
- if a % b == 0:
+ if a % b == 0:
return b
return gcd(b, a%b)
def lcm(a, b):
@@ -286,10 +286,10 @@ The solution is on your screen.
x = int(numbers[0])
y = int(numbers[1])
result = int(numbers[2])
- if lcm(x, y) != result:
- print "Failed lcm test for", x, y
- else:
- print "Test passed", result
+ if lcm(x, y) != result:
+ print "Failed lcm test for", x, y
+ else:
+ print "Test passed", result
{{{ Pause for some time and then continue }}}