[issue31519] Negative number raised to even power is negative (-1 ** even = negative)
New submission from Bob Hunkins: Hello, I'm only a novice with Python, so please take it easy on me if I have transgressed. I am using Python 3.6.2 on a win10 64 bit machine, and entered this: >>> a= [-1 ** x for x in range(1,10)] >>> print(a) [-1, -1, -1, -1, -1, -1, -
[issue31519] Negative number raised to even power is negative (-1 ** even = negative)
Bob Hunkins added the comment: Thanks. Stupid of me. Appreciate the correction. -- ___ Python tracker <https://bugs.python.org/issue31519> ___ ___ Python-bug