tests/logical.py | raw changeset files shortlog |
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/tests/logical.py Fri Oct 28 14:06:54 2016 +0200 1.3 @@ -0,0 +1,14 @@ 1.4 +def f(a, b, c): 1.5 + return a and b and c 1.6 + 1.7 +def g(a, b, c): 1.8 + return a or b or c 1.9 + 1.10 +def h(a, b, c): 1.11 + return a and b or c 1.12 + 1.13 +def i(a, b, c): 1.14 + return a or b and c 1.15 + 1.16 +def j(a, b, c): 1.17 + return f(a, b, c) and g(a, b, c) or c