equal
deleted
inserted
replaced
10 .. Prerequisites |
10 .. Prerequisites |
11 .. ------------- |
11 .. ------------- |
12 .. 1. Using Python modules |
12 .. 1. Using Python modules |
13 |
13 |
14 .. Author : Nishanth Amuluru |
14 .. Author : Nishanth Amuluru |
15 Internal Reviewer : |
15 Internal Reviewer : Punch |
16 External Reviewer : |
16 External Reviewer : |
|
17 Language Reviewer : Bhanukiran |
17 Checklist OK? : <put date stamp here, if OK> [2010-10-05] |
18 Checklist OK? : <put date stamp here, if OK> [2010-10-05] |
18 |
19 |
19 Script |
20 Script |
20 ------ |
21 ------ |
21 |
22 |
44 while b: |
45 while b: |
45 a, b = b, a%b |
46 a, b = b, a%b |
46 |
47 |
47 return a |
48 return a |
48 |
49 |
49 We shall write an test function in the script that tests the gcd function every |
50 We shall write a test function in the script that tests the gcd function every |
50 time the script is run. |
51 time the script is run. |
51 |
52 |
52 {{{ Add to the script }}} |
53 {{{ Add to the script }}} |
53 |
54 |
54 :: |
55 :: |