Programming

How to implement the Pascal Triangle in Python: practice with loops and strings

The Pascal Triangle is a well-known number pattern in mathematics. Because of the way it is created, it is helpful to practice loops and strings. Let’s see how to implement the Pascal Triangle in Python. In this case, we can practice loops by creating each row of the triangle. We can also practice strings because

How to implement the Pascal Triangle in Python: practice with loops and strings Read More »

The definitive example to learn recursion and backtracking: the maze problem

Recursion is a very important tool in programming. It is also difficult to understand. In this post, I want to show an example of a problem that can be solved with recursion and will help you understand how to use backtracking. Backtracking is a useful technique we can use to verify all the possible solutions

The definitive example to learn recursion and backtracking: the maze problem Read More »

What is an abstraction in programming and why it is important?

Abstraction is one of the most important concepts in programming. It is hard to write quality code in a programming language without a deep understanding of this concept. Abstraction is: “the purposeful suppression or hiding of some detail of a process or artifact in order to bring out more clearly other aspects details or structure”

What is an abstraction in programming and why it is important? Read More »

How to learn Object-Oriented Programming (examples in Python)

Object-Oriented Programming is one of the most used programming paradigms to develop software. This article shows a series of posts I wrote about object-oriented programming in Python, and the right order you must follow to read them. The study of Object-Oriented Programming (OOP), as the study of many other subjects, is divided into topics or

How to learn Object-Oriented Programming (examples in Python) Read More »