WingNews logo WingNews
top | new | best | ask | show | jobs
top | item 44615423

(no title)

palotasb | 7 months ago

^ is the XOR operator, 0 XOR 5 is 5. (Exponentiation is *)

https://docs.python.org/3/library/operator.html#mapping-oper...

discuss

order

teddyh|7 months ago

Exponentiation is ** or pow()
powered by hn/api // news.ycombinator.com