Learn Python with examples

Learn Python with examples

There are many ways to learn to program in a specific programming language, from reading manuals or technical books, following MOOC-type online courses…

One Learn Python with examplesway to learn to program is to develop specific programming examples, starting by solving small examples or problems that may arise and gradually increasing the level until you can provide specific solutions to specific problems.

Starting from this general idea, I will indicate a series of small exercises that you can follow and give yourselves an implementation in a specific programming language.

The chosen programming language is Python because at the moment it is one of the languages ​​that gives us greater versatility when it comes to learning different aspects of programming and specific solutions in the world of computing.

If you want to participate in this project, try to solve the problems raised on your own and if you want you can publish your solution.


The best solution will be published next to the problem statement after a few days.

In this project the Python language will not be taught because I believe that you can learn it on your own by following books, manuals or courses.

If you want you can follow the free programming course with Python on this blog

Free online Python tutorial


or follow other introductory manuals or tutorials.

Without further ado, I am going to show you a couple of exercises that you can start to develop.



Write a program that prompts the user for a positive integer and displays the countdown from that number to zero separated by commas.


Write a function that converts a decimal number to binary and another that converts a binary number to decimal.


Write a program to play Tic-Tac-Toe (3 in a row) using the Tkinter library.


I look forward to your solutions..

Greetings to all.

Leave a Reply

Your email address will not be published. Required fields are marked *