2013-01-14 | Paul Boddie | file changeset files shortlog | Moved common logic into a separate method. |
paul@152 | 1 | #!/usr/bin/env python |
paul@152 | 2 | |
paul@152 | 3 | def f(x, y): |
paul@203 | 4 | return x + y |
paul@152 | 5 | |
paul@152 | 6 | a = 1 |
paul@152 | 7 | b = 2 |
paul@152 | 8 | c = 3 |
paul@246 | 9 | result_8 = f(a + b, b + c) |
paul@152 | 10 | |
paul@152 | 11 | # vim: tabstop=4 expandtab shiftwidth=4 |