From e369e2f72f0b9befd2a60ada3c227716c8517558 Mon Sep 17 00:00:00 2001 From: Puneeth Chaganti Date: Fri, 26 Aug 2011 12:42:17 +0530 Subject: Fix indentation error in testing_and_debugging/script.rst --- testing_and_debugging/script.rst | 10 +++++----- 1 file 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 }}} -- cgit