What does << represent in python?

后端 未结 4 1691
醉酒成梦
醉酒成梦 2021-01-18 13:06

Python says

1 << 16 = 65536

What operation does << performs in Python?

4条回答
  •  攒了一身酷
    2021-01-18 14:01

    << it's the left-shift operator in Python. Take a look at the documentation for further details.

提交回复
热议问题