> Binary (leading with '0b'):
> >>> 0b1110 & 0b0110
> 6
> 
> Good luck,
> 
> -Martin
> 

 
my IDLE seems to be giving me some funny error. i'm using Python 2.5 and Win 
XP. pls advise. 
 
>>> a=0b110010
SyntaxError: invalid syntax
>>> 0b1110 & 0b0110
SyntaxError: invalid syntax
>>> 0b10
SyntaxError: invalid syntax
>>> 
 
thanks
tcl                                       
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to