What does ~ mean in python?

后端 未结 0 393
孤独总比滥情好
孤独总比滥情好 2020-11-29 16:39

Here is the code.

print(12& ~1 | 1)
print(13& ~1 | 0)

Can anyone explain here? I have googled this but no result so far.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题