From 913a26b906fbe4937cd8f47190503911621c9033 Mon Sep 17 00:00:00 2001
From: Marina S <138340846+bt3gl-google@users.noreply.github.com>
Date: Sun, 30 Jul 2023 21:44:51 -0700
Subject: [PATCH] Update README.md
---
bit_operations/README.md | 58 +++++++++++++++++++++-------------------
1 file changed, 30 insertions(+), 28 deletions(-)
diff --git a/bit_operations/README.md b/bit_operations/README.md
index 8338460..61df217 100644
--- a/bit_operations/README.md
+++ b/bit_operations/README.md
@@ -1,33 +1,5 @@
## bit manipulation
-
-
-### `playing_with_bits.py`
-
-
-
-
-```python
-> python3 playing_with_bits.py
-
-Integer number: 144
-Binary number: 10010000
-
-Update bit: 0b10010100
-Set bit: 0b10010100
-Clear bit: 0b10000000
-
-I: 144, I2: 90
-B: 10010000, B2: 01011010
-Count bits swapped: 4
-
-Swap bit in place: (90, 144)
-```
-
-
-----
-
-### bit manipulations
@@ -134,4 +106,34 @@ Swap bit in place: (90, 144)
* an integer of type int can be represented as a 32-bit binary number.
* since a one-digit hexadecimal number corresponds to a four-digit binary number, an integer of type int can also be represented as an 8-bit hexadecimal number.
+
+
+---
+
+### examples
+
+
+
+#### `playing_with_bits.py`
+
+
+
+
+```python
+> python3 playing_with_bits.py
+
+Integer number: 144
+Binary number: 10010000
+
+Update bit: 0b10010100
+Set bit: 0b10010100
+Clear bit: 0b10000000
+
+I: 144, I2: 90
+B: 10010000, B2: 01011010
+Count bits swapped: 4
+
+Swap bit in place: (90, 144)
+```
+