Heike C. Zimmerer
usenet04q1 at hczim.de
Wed Jul 14 22:13:58 CEST 2004
"Karl Pech" <KarlPech at users.sf.net> writes:
> I'm currently working on the following exercise:
> You have given the following function:
> def f2(i, j, k):
> return ((i | j) & k) | (i & j)
> Find a useful utilization for this function.
Depending on k, you either get i & j or i | j. It is left as an
exercise to find out why. Don't know if it's really useful, however.
Greetings from your friendly Usenet homework department,
More information about the Python-list