---
# System prepended metadata

title: BLOCKFUSE LABS week 6

---

week six we continued with type of operators and we have esterblised that  operators are special symbols or keywords that perform operations on variables and values. These operations can include arithmetic, comparison, logic, assignment, and more.
first we looked at ARITHMETIC OPERATORS: which are used for mathematical operations.
| Operator | Description         | Example       |
| -------- | ------------------- | ------------- |
| `+`      | Addition            | `5 + 3 = 8`   |
| `-`      | Subtraction         | `5 - 3 = 2`   |
| `*`      | Multiplication      | `5 * 3 = 15`  |
| `/`      | Division            | `5 / 2 = 2.5` |
| `//`     | Floor Division      | `5 // 2 = 2`  |
| `%`      | Modulus (remainder) | `5 % 2 = 1`   |
| `**`     | Exponentiation      | `2 ** 3 = 8`  |

next up we looked at ASSIGMENT OPERATORS: are used to assign values to variables.
for example:
| Operator | Description             | Example                |
| -------- | ----------------------- | ---------------------- |
| `=`      | Assign                  | `x = 5`                |
| `+=`     | Add and assign          | `x += 3` → `x = x + 3` |
| `-=`     | Subtract and assign     | `x -= 2`               |
| `*=`     | Multiply and assign     | `x *= 2`               |
| `/=`     | Divide and assign       | `x /= 2`               |
| `//=`    | Floor divide and assign | `x //= 2`              |
| `%=`     | Modulus and assign      | `x %= 3`               |
| `**=`    | Exponentiate and assign | `x **= 2`              |


we then checked out COMPARISON OPERATORS which we aknowledged majorly returns back "Boolean" wich is (True or False ). example are 
| Operator | Description           | Example         |
| -------- | --------------------- | --------------- |
| `==`     | Equal to              | `5 == 5 → True` |
| `!=`     | Not equal to          | `5 != 3 → True` |
| `>`      | Greater than          | `5 > 3 → True`  |
| `<`      | Less than             | `5 < 3 → False` |
| `>=`     | Greater than or equal | `5 >= 5 → True` |
| `<=`     | Less than or equal    | `5 <= 6 → True` |

finally we touchlined LOGICAL OPERATORS which are used to combine conitional statements
example
| Operator | Description | Example                  |
| -------- | ----------- | ------------------------ |
| `and`    | Logical AND | `True and False → False` |
| `or`     | Logical OR  | `True or False → True`   |
| `not`    | Logical NOT | `not True → False`       |


friday came with both anxiety and tension as we indulged in our usual "hands_on friday" we we took a speed test and also a hands on test to evaluate our level of assimiliation through the week.