tests/return_choice.py | raw changeset files shortlog |
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/tests/return_choice.py Sun Aug 21 21:38:56 2011 +0200 1.3 @@ -0,0 +1,9 @@ 1.4 +#!/usr/bin/env python 1.5 + 1.6 +def choice(x, y): 1.7 + return x and y 1.8 + 1.9 +result_0 = choice(0, 1) 1.10 +result_3 = choice(2, 3) 1.11 + 1.12 +# vim: tabstop=4 expandtab shiftwidth=4