micropython

tests/logical_results.py

435:29c1a9810249
2011-06-26 Paul Boddie Changed the title of generated graphs.
     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