[Python] funzione and

Marco Beri marcoberi a gmail.com
Gio 22 Maggio 2014 11:03:15 CEST


2014-05-22 10:53 GMT+02:00 Giorgio <g.climb a tiscali.it>:

> Ciao a tutti
>
> in Python fare 42 and 1 restituisce 1 mentre con tutti gli altri linguaggi
> che conosco 42 and 1 restituisce 0. Come si può fare per ottenere qualcosa
> del genere in Pyhon?
>

Onestamente non conosco linguaggi in cui 42 and 1 restituisca 0. Quali
sono, scusa?

Non c'è possibilità che 42 and 1 restituisca 0.

Non è che intendi 42 == 1 ?

Ciao.
Marco.

-- 
http://beri.it/ - Un blog
http://beri.it/i-miei-libri/ - Qualche libro
-------------- parte successiva --------------
Un allegato HTML è stato rimosso...
URL: <http://lists.python.it/pipermail/python/attachments/20140522/7c67114f/attachment.html>


Maggiori informazioni sulla lista Python