- 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.
推薦閱讀
- Java EE 6 企業級應用開發教程
- PHP 從入門到項目實踐(超值版)
- Building a Game with Unity and Blender
- Python數據可視化:基于Bokeh的可視化繪圖
- 信息可視化的藝術:信息可視化在英國
- Mastering LibGDX Game Development
- Functional Kotlin
- Learning Selenium Testing Tools(Third Edition)
- Mastering Apache Spark 2.x(Second Edition)
- 零基礎輕松學SQL Server 2016
- Haxe Game Development Essentials
- Webpack實戰:入門、進階與調優
- Julia for Data Science
- Microsoft 365 Certified Fundamentals MS-900 Exam Guide
- SQL Server 2008 R2數據庫技術及應用(第3版)