micropython

Annotated tests/cond_if.py

671:76bdd4381b66
2013-07-04 Paul Boddie Fixed operator and built-in function invocations to use the "apply" function. Added a proper translation of print statements. syspython-as-target
paul@27 1
#!/usr/bin/env python
paul@27 2
paul@27 3
a = 1
paul@234 4
paul@27 5
if a:
paul@27 6
    b = 1
paul@27 7
else:
paul@27 8
    b = 2
paul@234 9
paul@234 10
result_1 = b
paul@27 11
paul@27 12
# vim: tabstop=4 expandtab shiftwidth=4