Good morning,

I noticed when coding with the latest version of Python 3.11. the exponent ^ bitwise operator does not compute as an exponent?

But, if Iím understanding the methods of computation,

^ operand was expressed as a simplistic approach on a calculator to calculate exponents instead of typing out for example 2 x 2 x 2 x 2. Instead it would be written as 2^4 = 16

2*4 would mean 2 x 4 = 8.

2**4 = ????, I mean I guess this good too.

 

When I am computing this 2^4= the answers takes on addition. And adds the two integers.

 

I checked the documents and I donít see anything about this mentioned in using the operands in Python.

Is there anyway I can get feedback about this?

 

When I was learning Python, this was an included operand in relation to exponent expressions.

 

Thank you

Desurae Councill

Graduate Teaching Assistant

School of Information Science and Technology

Pennsylvania State University.

 

Sent from Mail for Windows