- 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.
推薦閱讀
- HornetQ Messaging Developer’s Guide
- INSTANT Mercurial SCM Essentials How-to
- Python漫游數學王國:高等數學、線性代數、數理統計及運籌學
- Python算法從菜鳥到達人
- 精通MATLAB(第3版)
- Swift語言實戰精講
- 軟件測試實用教程
- 汽車人機交互界面整合設計
- Arduino計算機視覺編程
- Advanced UFT 12 for Test Engineers Cookbook
- Android編程權威指南(第4版)
- After Effects CC技術大全
- ROS機器人編程實戰
- Python Automation Cookbook
- JavaScript Concurrency