A hands-on collection of Python scripts covering fundamental programming concepts. Each file is self-contained and focuses on a single concept, with comments in Portuguese.
- Hello World
- If / Elif / Else
- For Loop
- While Loop
- Arrays & Lists (Interactive Menu)
- More examples to be added constantly.
- Python 3.x
No external libraries are needed. All scripts use the Python standard library only.
Clone the repository and run any script directly with Python:
git clone https://github.com/joaopedro-chaves/Python-examples.git
cd Python-examples
# Run any example:
python hello_world.py
python if.py
python for.py
python while.py
python arrays_program.pyNote: Some scripts require user input — follow the on-screen prompts when running them.