A repository of 100 solved Python 3 exercises, ordered by lesson
Mais de 100 exercícios resolvidos do curso de fundamentos de Python 3, ministrado pelo prof. Gustavo Guanabara do Curso em Vídeo.
At a glance
- What is it?
- The Curso-Python-Gustavo-Guanabara repository is a personal collection of solutions to the exercises from the Curso em Video Python 3 course, arranged in mundo_1, mundo_2 and mundo_3 directories that mirror the lesson order, and it is useful as a worked reference rather than as a library.
- Who is it for?
- The repository suits a beginner who has just watched a lesson and wants to see a working solution in the same file layout as the exercise, and it suits a teacher who wants an answer key for the whole course in one place.
- Can I use it commercially?
- Not without permission. GitHub finds no licence file in the repository, and without a licence all rights are reserved by default: you may read the code but not reuse it. Check the README, or ask the authors, before using it.
- Is it still maintained?
- Yes. The repository last received commits 16 days ago.
- What is it written in?
- Mainly Python, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on October 22, 2026, and from our analysis. They are not legal advice.
Editorial analysis
The directory layout is the course curriculum
The top level of the repository is three directories, mundo_1, mundo_2 and mundo_3, plus a requirements.txt and the README. That is the whole structure, and it maps directly onto how the course is taught: the world, or mundo, divisions are how the material groups lessons by increasing difficulty, so the directory names are the curriculum rather than a software design choice. Inside each world the subdirectories are named after lesson groups in Portuguese, and the README shows the pattern. Under mundo_1 there is Aula_1_a_5_Conhecendo_a_Linguagem, then Aula_6_Primeiros_Passos, then Aula_7_Calculos_e_Operacoes, then Aula_8_Modulos, then Aula_9_Strings, then Aula_10_Estruturas_Condicionais, and further lesson groups appear as the list continues. A learner who follows the course can navigate to the folder for the lesson they just watched and find the solutions sitting next to it, which is the practical value of the whole arrangement.
One file per exercise, named desafio_N
Each exercise is a single Python file named desafio_ followed by the exercise number, so desafio_1.py through desafio_15.py in the first lesson group, then desafio_16.py onward for the modules lesson, and so on. The README lists them with a short Portuguese title for each, which doubles as a table of contents of the skills being built: Deixando tudo pronto, Respondendo ao usuário, Somando dois números and Dissecando uma variável in the opening lessons, then Antecessor e sucessor, Dobro triplo e raiz quadrada, Média aritmética, Conversor de medidas and Tabuada, and further along Quebrando um número, Catetos e hipotenusa, Seno cosseno e tangente, Sorteando um item na lista and Tocando um MP3 for the modules lesson, then a strings block from Analisador de textos to Primeiro e último nome de uma pessoa, then conditionals from Jogo da Adivinhação to Aumentos múltiplos. The exercise numbers are contiguous, which means the numbering lines up with the course and makes it easy to ask a learner for one specific file.
The topic blocks are a Python 3 curriculum in miniature
Reading the section headings of the README gives a compact map of what the course covers, because each heading is a lesson group. Conhecendo a linguagem and Primeiros passos are the basics, Cálculos e operações covers arithmetic on user input, Módulos covers the standard library, Strings covers text manipulation, and Estruturas condicionais covers branching. The later worlds in the directory structure, mundo_2 and mundo_3, continue with the parts of the language that need loops and data structures, and the README points to two notes files for the function lessons in mundo_3, aula 20 and aula 21, both titled notas.md, which are linked to a different repository path under the guiemi-learning-center organisation rather than the one this README lives in. That inconsistency in the links is worth knowing about, because it means the notes referenced for the functions material may live somewhere other than the fork you cloned.
Setting up an environment for the exercises
The repository ships a requirements.txt with pinned versions rather than a loose list, and the pinning is what you notice: every line ends with an exact version, from appnope==0.1.4 and asttokens==2.4.1 through beautifulsoup4==4.12.3, ipython==8.27.0, nltk==3.10.3, requests==2.33.0 and tqdm==4.66.5, and the list also carries the usual Jupyter and IPython stack, jedi, parso, prompt_toolkit and pygments, along with the linting tools pycodestyle, pydocstyle, pyflakes and pylama. The dependencies are the environment for the course, not for the exercises themselves, since most of the early challenges need nothing outside the standard library.
beautifulsoup4==4.12.3
bs4==0.0.2
certifi==2024.8.30
chardet==5.2.0
charset-normalizer==3.3.2The practical reason to install them is the later exercises, the ones that touch the standard library rather than only arithmetic. A file in the modules lesson that plays an MP3, for example, depends on a system library, and the ones that scrape or call out depend on requests. Install into a virtual environment so the pinned set does not collide with anything else on the machine, then run a solution file directly to see what it does.
What the repository does not give you
Several things a learner might hope for are simply absent, and their absence says what this is. There is no test suite, so no exercise is checked automatically, and there is no CI configuration, so nothing verifies that a solution still runs on a current Python. There is no package definition and no importable module, so these files are programs to run, not code to depend on. There is no explanation next to the solutions: the README is a link list with exercise titles, and the reasoning that turns a statement into a program has to come from the video lessons it points to, hosted on the Curso em Video site with videos also on the Curso em Video YouTube channel. And the licence field is unknown, with no licence file among the repository entries, so the legal status of reusing a solution file in your own work is not stated anywhere in the project. That last point is not a technicality for a code collection that people are explicitly invited to copy from.
A worked answer key, and where it sits against the alternatives
The useful comparison is not with other Python libraries, which would be a category error, but with the other ways to get an answer key for this course. Another option is the repository the README's notes links point to, in the guiemi-learning-center organisation, which this collection appears to have been drawn from. Whatever its exact contents, the contrast worth making is that this repository already contains the answers and leaves the teaching to the video, while solving an exercise yourself is the complement that gets the most out of either. The third option is writing the solutions yourself, and for a beginner that is the option with the highest return, because the value of a solved file drops to near zero the moment the answer is already visible. The honest recommendation for anyone who is not following the videos is to pick three or four exercises, attempt them, and only then open the file to compare approaches.
Editorial conclusion
The repository suits a beginner who has just watched a lesson and wants to see a working solution in the same file layout as the exercise, and it suits a teacher who wants an answer key for the whole course in one place. It is the wrong tool for learning the language from scratch, since a solution file teaches a technique rather than the reasoning that produces it, and it is the wrong tool for anything you intend to build on, because there is no package, no importable API and no test suite. Before working through it, set up a virtual environment and install the pinned dependencies from requirements.txt, then read the notes.md files linked from the README for the two function lessons, and pick the exercise that matches the lesson you are on rather than reading the solutions front to back. The last push was on 2026-10-07, and the repository publishes no releases.
Frequently asked questions
What does the Curso-Python-Gustavo-Guanabara repository contain?
It holds more than 100 solved exercises from the Python 3 fundamentals course taught by Gustavo Guanabara for Curso em Video. The solutions are organised in mundo_1, mundo_2 and mundo_3 directories, with subdirectories named after each lesson group and one file per exercise named desafio_N.py.
How do I run the exercises in this Python course repository?
The repository is plain Python files, so you run them directly. The README also links to notas.md notes files for the function lessons, aula 20 and aula 21 under mundo_3, and the course videos are hosted on the Curso em Video site and YouTube channel.
What dependencies does the Curso Python Guanabara repository need?
A requirements.txt with exact pinned versions, including beautifulsoup4, ipython, nltk, requests and tqdm, plus the Jupyter and IPython tooling and the pycodestyle, pydocstyle, pyflakes and pylama linters. The early arithmetic exercises need nothing outside the standard library.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/divertimentos-curso-python-gustavo-guanabara)Was this useful?