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 = 1
A · 0 = 0
A +…

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…

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.gpg
sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
sudo apt-get update
sudo 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.


Gamer. RPG enthusiast. Computer Science student.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store