6 ms·
^ is the XOR operator, 0 XOR 5 is 5. (Exponentiation is *) https://docs.python.org/3/library/operator.html#mapping-operators-to-functions https://docs.python.o
by palotasb 1y ago
^ is the XOR operator, 0 XOR 5 is 5. (Exponentiation is *)
https://docs.python.org/3/library/operator.html#mapping-operators-to-functions https://docs.python.org/3/library/operator.html#mapping-oper...
- teddyh 1y agoExponentiation is ** or pow()