Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
palotasb
· 1y ago · 0 comments
^ is the XOR operator, 0 XOR 5 is 5. (Exponentiation is *)
https://docs.python.org/3/library/operator.html#mapping-oper...
Comments
[–]
teddyh
1y ago
Exponentiation is ** or pow()