hi,
 
i'm confuse on how does ^ and | mean. When i tried |, i thought it is addition 
but 4|4 also give 4?
>>> 4|2
6
>>> 4|1
5
>>> 4|3
7
>>> 4|4
4
 
When i tried ^, looks like subtraction but 2^4 gives 6?
 

>>> 2^3
1
>>> 2^2
0
>>> 2^4
6
 
Pls help to clear my confusion. thanks.
 
 
 
 
                                          
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to