odd question

Bruno Desthuilliers bdesth.quelquechose at free.quelquepart.fr
Thu Jul 15 19:12:15 CEST 2004

Harald Massa wrote:
>>You have given the following function:
>>def f2(i, j, k):
>>  return ((i | j) & k) | (i & j)
>>Find a useful utilization for this function.
> That's easy.
> This function is a possible proof that it is possible to write pearllike 
> (=writeonly) code in Python too.
I thought anyone using a programming language had at least some notions 
of boolean algrebra...

More information about the Python-list mailing list