The ^ operator

Tuvas brp13 at
Mon Sep 26 20:09:32 CEST 2005

What exactly does the ^ operator do? I've seen, for example, that
3^4=7, 3^5=8. but 3^3=0. Is it just adding them together if they are
not equal, and if they are equal, outputs 0, or what? Thanks!

More information about the Python-list mailing list