How silvaesdras/lcom works
This repository is a collection of standalone beginner Python exercises, not one integrated application. The clearest end-to-end example is the search assignment: it models a road network, runs heuristic search, reconstructs a route, and prints results. Other scripts independently accept console input, perform a small conditional or arithmetic task, and print an answer. The ZIP archives are listed in the tree but their contents are not shown, so their capabilities and connections are omitted; the map reflects the Python files shown in the source excerpts.
Main entry points: trabalho_ia_buscas.py Search demo · Exercício Condicional IF_Q01.py Speed fine check · Exercício Condicional IF_Q02.py Speed fine calculation · Exercício Condicional IF_Q03.py Salary raise
Components 16
Route search
- Search demo
trabalho_ia_buscas.py - Search algorithms
trabalho_ia_buscas.py - Road map and heuristic
trabalho_ia_buscas.py
Conditionals
- Speed fine check
Exercício Condicional IF_Q01.py - Speed fine calculation
Exercício Condicional IF_Q02.py - Salary raise
Exercício Condicional IF_Q03.py - Salary deductions
Exercício Condicional IF_Q04.py
Basic calculations
- Age to days
lista02q1_idade_em_dias.py - Days to age
lista02q2_idade_em_anos.py - Grade average
lista02q3_mediafinal.py - Car price
lista02q4_carro_novo.py - Three-number formula
lista02q5_trêsnúmeros.py - Boolean example
Lista01Q01(true_false).py - Boolean constant
Lista01Q02(true_false).py - Boolean constant
Lista01Q03(true_false).py
Other components
- Console user
Connections 26
- Search demo → Search algorithms: calls A*
trabalho_ia_buscas.py - Search demo → Road map and heuristic: supplies callbacks
trabalho_ia_buscas.py - Search algorithms → Road map and heuristic: expands successors
trabalho_ia_buscas.py - Console user → Search demo: starts demo
trabalho_ia_buscas.py - Search demo → Console user: prints route
trabalho_ia_buscas.py - Console user → Speed fine check: enters speed
Exercício Condicional IF_Q01.py - Speed fine check → Console user: prints result
Exercício Condicional IF_Q01.py - Console user → Speed fine calculation: enters speed
Exercício Condicional IF_Q02.py - Speed fine calculation → Console user: prints fine
Exercício Condicional IF_Q02.py - Console user → Salary raise: enters salary
Exercício Condicional IF_Q03.py - Salary raise → Console user: prints salary
Exercício Condicional IF_Q03.py - Console user → Salary deductions: enters salary
Exercício Condicional IF_Q04.py - Salary deductions → Console user: prints net pay
Exercício Condicional IF_Q04.py - Console user → Age to days: enters age
lista02q1_idade_em_dias.py - Age to days → Console user: prints days
lista02q1_idade_em_dias.py - Console user → Days to age: enters days
lista02q2_idade_em_anos.py - Days to age → Console user: prints age
lista02q2_idade_em_anos.py - Console user → Grade average: enters grades
lista02q3_mediafinal.py - Grade average → Console user: prints average
lista02q3_mediafinal.py - Console user → Car price: enters factory cost
lista02q4_carro_novo.py - Car price → Console user: prints price
lista02q4_carro_novo.py - Console user → Three-number formula: enters numbers
lista02q5_trêsnúmeros.py - Three-number formula → Console user: prints formula
lista02q5_trêsnúmeros.py - Boolean example → Console user: prints value
Lista01Q01(true_false).py - Boolean constant → Console user: prints value
Lista01Q02(true_false).py - Boolean constant → Console user: prints value
Lista01Q03(true_false).py