2012-11-04 | Paul Boddie | file changeset files shortlog | Introduced pre-made classes for various built-in types supporting constants. Removed the subclasses of Class, since no distinction was being made between them. |
paul@121 | 1 | #!/usr/bin/env python |
paul@121 | 2 | |
paul@121 | 3 | a = 1 |
paul@121 | 4 | b = 2 |
paul@121 | 5 | c = 3 |
paul@121 | 6 | |
paul@232 | 7 | result_1 = 0 |
paul@232 | 8 | result_2 = 0 |
paul@232 | 9 | |
paul@232 | 10 | if a < b < c: |
paul@232 | 11 | result_1 = 1 |
paul@232 | 12 | if c > b > a: |
paul@232 | 13 | result_2 = 2 |
paul@121 | 14 | |
paul@121 | 15 | # vim: tabstop=4 expandtab shiftwidth=4 |