Welcome to the repository for the Python Fundamentals Class for Techtonic Tribe's second cohort, held in April 2024. This course is designed to provide beginners with a strong foundation in Python programming, covering essential concepts and practical exercises.
This repository contains code examples and exercises that cover the following topics:
- Variables
- Syntax
- Strings
- If-Else Statements
- Data Types
- Loops
- Dictionaries
- Lists
- Tuples
- Sets
- Additional Basic Concepts
Python is a popular programming language. It was created by Guido van Rossum and released in 1991.
- Web development (server-side)
- Software development
- Mathematics
- System scripting
- Python can be used on a server to create web applications.
- Python can be used alongside software to create workflows.
- Python can connect to database systems. It can also read and modify files.
- Python can handle big data and perform complex mathematics.
- Python is excellent for rapid prototyping or production-ready software development.
- Python works on different platforms (Windows, Mac, Linux, Raspberry Pi, etc.).
- Python has a simple syntax similar to the English language.
- Python’s syntax allows developers to write programs with fewer lines than some other programming languages.
- Python runs on an interpreter system, meaning code can be executed as soon as it is written. This enables quick prototyping.
- Python can be treated in a procedural, object-oriented, or functional way.
- The most recent major version of Python is Python 3, which will be used in this course. While Python 2 is still popular, it only receives security updates and is no longer actively developed.
- In this tutorial, Python will be written in a text editor. However, Integrated Development Environments (IDEs) such as Thonny, PyCharm, NetBeans, or Eclipse can be used for managing larger projects.
- Python Syntax vs. Other Programming Languages:
- Python was designed for readability and has similarities to the English language, influenced by mathematics.
- Python uses new lines to complete a command, unlike many other programming languages that use semicolons or parentheses.
- Python relies on indentation (whitespace) to define scope, such as loops, functions, and classes. Other languages often use curly brackets for this purpose.
-
Clone the Repository:
git clone https://github.com/Fitsumhelina/INTRODUCTION-TO-PYTHON.git cd INTRODUCTION-TO-PYTHON
-
Install Python: Ensure that Python is installed on your machine. You can download the latest version from python.org.
-
Run the Code: Execute the code examples using a Python IDE such as PyCharm, VSCode, or directly from the command line.
Each topic is organized into its own directory, containing relevant code examples and exercises. Follow these steps to get the most out of the materials:
- Start with the
Variables
directory and proceed sequentially through the topics. - Each directory includes:
- README.md: An overview of the topic.
- Examples: Code examples that demonstrate key concepts.
- Exercises: Practice problems to reinforce your understanding.
If you encounter any issues or have suggestions for improvement, feel free to open an issue or submit a pull request. Contributions from the community are always welcome!
- Course: Python Fundamentals by Techtonic Tribe
- Date: April 12, 2024
- Lecture by: Fitsum Helina (Full-Stack Developer)
For any questions or further information, please contact Fitsum Helina.