What does the ** maths operator do in Python?

前端 未结 5 1946
星月不相逢
星月不相逢 2020-12-18 18:24

What does this mean in Python:

sock.recvfrom(2**16)

I know what sock is, and I get the gist of the recvfrom function, but what

5条回答
  •  北海茫月
    2020-12-18 19:14

    It is the awesome power operator which like complex numbers is another thing you wonder why more programming languages don't have.

提交回复
热议问题