I read the following python code:
a=2**b
I know several languages like c,c++,c#,java... i even googled ** operator without any results.
so what does 2**b means?
It is the exponentiation operator. In your example, a
will have the result of 2
to the b
th power.
Check out the last entry in the table in this section.
it's simple **
means power, so 2**b
means 2 to the power of b
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With