書名: Learn Python in 7 Days作者名: Mohit Bhaskar N. Das本章字數: 42字更新時間: 2021-07-09 20:40:26
Bitwise operators
Python supports bitwise operations. You might have come across AND, OR, or complementary operations:

The following screenshot illustrates the various usages of bitwise operators:

~x will give -241, which is in 2's complement form due to a signed binary number.
推薦閱讀
- Visual Basic .NET程序設計(第3版)
- Apache ZooKeeper Essentials
- 自然語言處理實戰:預訓練模型應用及其產品化
- 工程軟件開發技術基礎
- Mastering RabbitMQ
- arc42 by Example
- 你必須知道的204個Visual C++開發問題
- Backbone.js Blueprints
- 自制編程語言
- Scala Reactive Programming
- Mastering openFrameworks:Creative Coding Demystified
- 軟件測試綜合技術
- Beginning C++ Game Programming
- Java程序設計與項目案例教程
- R Data Science Essentials