# Properties of logical operators

Other tools in our tool-box

Just like the operations we know - sum, subtraction, multiplication, division) - the logical operators - AND, OR, NOT - have properties too. We are going to learn them so we can use them at a later time.

If you don’t know what these operators are, check out this article:

If an equation is valid, like A+ 1 = 1, then switching the operator to the AND and the constants (0 → 1 and 1 → 0) will generate a new valid equation.

`A + 1 = 1A · 0 = 0`
`A +…`

# A glance into boolean algebra

Truth tables and digital circuits

Computers are made of digital circuits that work only with the values 0 and 1, not with decimal values like us humans. This representation is called binary and it requires ways to convert a number from decimal to binary and vice versa. Furthermore, it requires ways to elaborate these numbers, such as making additions and subtractions. In this article we won’t explore the world of binary numbers per se, but how binary values are elaborated.

Boolean algebra gives us all the tools to do just so.

A variable X is boolean when it can take…

# Writing in python on VS Code

Hi! Let’s take a look at how to start coding in python with Visual Studio Code.

First, to install Visual Studio Code in Ubuntu I used these commands:

`curl https://packages.microsoft.com/keys/microsoft.asc | gpg — dearmor > microsoft.gpgsudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpgsudo apt-get updatesudo apt-get install code`

Otherwise, there is the official website where to download it from.

In most Linux distros python is already installed, so no big worries there. If you are on Windows there is a download page on python.org. Alternatively, writing “python” in Command Prompt will open the Microsoft Store to the last version of Python. ## lordebasta

Gamer. RPG enthusiast. Computer Science student.