Confusing math problem

Chris Angelico rosuav at gmail.com
Thu Feb 21 19:29:47 EST 2013


On Fri, Feb 22, 2013 at 9:44 AM, Schizoid Man <schiz_man at 21stcentury.com> wrote:
>
> No, I was aware to be honest. I thought ** was just short hand for
> math.pow(). Since ** is the integer operation, I suppose ^ doesn't work as
> an exponent function in Python?

^ is bitwise XOR, completely different.

ChrisA



More information about the Python-list mailing list