Y
Hacker News
new
|
ask
|
show
|
jobs
by
palotasb
332 days ago
^ is the XOR operator, 0 XOR 5 is 5. (Exponentiation is *)
https://docs.python.org/3/library/operator.html#mapping-oper...
1 comments
teddyh
332 days ago
Exponentiation is ** or pow()
link