New course! Every coder should learn Generative AI!
Try a free lesson- 1
in python 3 i don't understand This symbols (|, ^, &) please give me some examples also.
1) | 2) ^ 3) &
1 Answer
0
That are bitwise operators :
| or
^ xor
& and
Example :
1 | 2 = 3
56 ^ 56 = 0
1 & 2 = 0