This repository contains a collection of Python examples that can be used by anyone to learn how to program with this language. The examples are organized by topics and each one comes with detailed comments to explain the code.
To use this repository, simply download or clone the repository to your computer. Then, open the example files in your favorite code editor and study the code and comments. You can experiment with them, modify them, and see how the program's behavior changes.
The examples in this repository cover a wide range of concepts related to Python programming, from the most basic to the most advanced. The difficulty of each one will be indicated as follows:
- 📗 Basic: Introduces the basics of the language and its syntax.
- 📙 Intermediate: Covers more advanced topics and concepts.
- 📕 Advanced: Demonstrates more complex and advanced techniques.
- 📗 Hello World!
- 📗 Primitive data types in Python
- 📗 Character strings operations
- 📗 Console user inputs
- 📗 User inputs, global variables and character strings operations
- 📗 Flow control: 'if-else' statement
- 📗 More user inputs, global variables and character strings operations
- 📗 Escape character and strings
- 📙 'While' iterations
- 📙 More 'While' iterations
- 📙 Additional 'While' iterations
- 📙 'For' iterations
- 📙 More 'For' iterations
- 📙 Functions.
- 📕 Recursive Functions
- 📕 Recursion Limit
- 📕 Exhaustive Listing Algorithm.
- 📕 Solution Approximation Algorithm
- 📕 Binary Search Algorithm
All examples in this repository are under the MIT license, which means you can use them for any purpose, even in commercial projects.
I hope you find this repository useful in your Python learning journey. If you have any questions or suggestions, feel free to create an issue in the repository.