[Tutor] newbie exercises
Keo Sophon
keosophon at khmeros.info
Wed Mar 29 13:59:30 CEST 2006
On Monday 27 March 2006 19:53, Steve Nelson wrote:
> On 3/27/06, josip <josipl2000 at yahoo.com> wrote:
> > Can someone give me exercises to do with loops, maybe functions to?
>
> How about a program that produces truth tables for the basic gates?
> AND, NAND, NOT, OR, XOR?
>
> You could write a function for each gate, and one to produce a truth
> table.
>
> S.
> _______________________________________________
> Tutor maillist - Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
Is it bitwise operator? Could you give one example?
Sophon
More information about the Tutor
mailing list