micropython

tests/logical_results.py

440:cf329206154e
2011-07-03 Paul Boddie Introduced constant usage tracking.
     1 #!/usr/bin/env python     2      3 a = 1     4 b = 0     5 e = a and b or not a and not b     6      7 if e is False:     8     f = 0     9 else:    10     f = 1    11     12 e = a and b or a and not b    13     14 if e is False:    15     g = 0    16 else:    17     g = 1    18     19 result_0 = f    20 result_1 = g    21     22 # vim: tabstop=4 expandtab shiftwidth=4