https://github.com/mutuajoseph/python-fundamentals
A step-by-step learning journey through Python Fundamentals
https://github.com/mutuajoseph/python-fundamentals
python pythonbasics
Last synced: 6 days ago
JSON representation
A step-by-step learning journey through Python Fundamentals
- Host: GitHub
- URL: https://github.com/mutuajoseph/python-fundamentals
- Owner: mutuajoseph
- License: mit
- Created: 2025-05-07T06:54:14.000Z (13 days ago)
- Default Branch: main
- Last Pushed: 2025-05-07T07:14:33.000Z (13 days ago)
- Last Synced: 2025-05-07T07:44:22.796Z (13 days ago)
- Topics: python, pythonbasics
- Language: Python
- Homepage:
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Python Learning Project
A step-by-step learning journey through Python fundamentals.
## Overview
This repository contains code examples and notes for learning Python programming fundamentals. The content is organized by learning days, with each day focusing on specific concepts.
## Learning Progress
### Day One
- Installing Python
- Creating and running Python files
- Python comments and basic syntax### Day Two
- Variables and their usage
- Data types (primitive and non-primitive)
- Operators (arithmetic, comparison, logical, assignment)### Day Three
- Control Flow statements:
- If, if-else, elif conditions
- Nested if statements
- While loops
- For loops
- Break, continue, and pass statements
- Functions:
- Function definition and calling
- Return values
- Parameters and arguments### Day Four
- Data Structures:
- Lists (creation, indexing, slicing, adding/removing elements)
- Tuples (immutable collections)
- Sets (unique collections)
- Dictionaries (key-value pairs)
- Range objects### Day Five
- Object-Oriented Programming concepts
- Working with classes and objects## Files in this Repository
- [app.py](app.py): Introduction to Python basics with simple print statements
- [day_two.py](day_two.py): Comprehensive examples of variables, data types, and operators
- [day_three.py](day_three.py): Examples of control flow statements and functions
- [day_four.py](day_four.py): Examples of Python data structures
- [day_five.py](day_five.py): Introduction to Object-Oriented Programming
- [notes.txt](notes.txt): Outline of topics covered by day
- [LICENSE](LICENSE): MIT License for this project## Challenges
The repository includes programming challenges to practice Python concepts:
- **Challenge One**: Building a library management system with classes for Person, Student, Book, and Librarian, demonstrating inheritance principles.
## Getting Started
To run these examples, you need Python installed on your system. You can run any of the Python files using:
```bash
python app.py
# or
python day_two.py
# or
python day_three.py
# or
python day_four.py
# or
python day_five.py
```## Examples
The repository includes practical examples like:
- Basic printing and calculations
- Variable assignment and manipulation
- Rectangle calculator (user input, calculations, and output)
- Control flow demonstrations with loops and conditionals
- Function definitions with various parameter types
- Data structures implementation and manipulation
- Object-oriented programming implementations## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.