+ 2
^ GATES IN PYTHON
How does 0^0 = 0? FOR https://code.sololearn.com/cOT4u6jNYQH7/?ref=app
2 Answers
+ 4
^ is bitwise xor operator
power operator in python is **
+ 2
because val xor 0 == val...
xor invert bits at position of bit sets (1), so 0 leave other argument inchanged ;)