Daily Python practice — documenting my learning journey from basics to advanced concepts.
Consistency beats perfection 🚀
daily-code/
└── Python/
├── Basics/
│ ├── 01_python_basics_variables.py
│ ├── 02_datatypes_typecasting.py
│ ├── 03_operators_&_conditionals.py
│ ├── 04_loops_&_iteration.py
│ ├── 05_lists_&_tuples.py
│ ├── 06_strings_sets_dictionaries.py
│ ├── 07_dictionaries_functions.py
│ ├── 08_lambda_functions.py
│ ├── Python_assignment_questions.py
│ └── Python_assignments_answers.py
│
└── Object_Oriented_Programming/
├── 01_Introduction_to_OOP.py
├── 02_Classes_Objects_&_self.py
├── 03_Constructors_&__init__().py
├── 04_Inheritance_basics.py
├── 05_Types_of_inheritance.py
├── 06_Encapsulation.py
├── 07_Polymorphism.py
├── 08_abstraction.py
│
├── Assignment_Questions.py
└── Assignments_Answers.py
| File | Topics Covered |
|---|---|
| 01_python_basics_variables.py | print(), variables, arithmetic, string basics |
| 02_datatypes_typecasting.py | int, float, str, bool, complex, type(), type casting |
| 03_operators_&_conditionals.py | all operators, if/elif/else, nested conditions |
| 04_loops_&_iteration.py | while, for, range(), break, continue |
| 05_lists_&_tuples.py | indexing, slicing, list methods, tuples, conversions |
| 06_strings_sets_dictionaries.py | string methods, sets, set operations, dictionaries |
| 07_dictionaries_functions.py | nested dicts, user-defined functions, parameters, return |
| 08_lambda_functions.py | lambda, map(), filter(), sorted() with custom keys |
| Python_assignment_questions.py | 20 practice problems across all basics topics |
| Python_assignments_answers.py | solutions with comments and explanations |
| File | Topics Covered |
|---|---|
| 01_Introduction_to_OOP.py | what is OOP, classes, objects, real-world analogies |
| 02_Classes_Objects_&_self.py | self keyword, instance methods, multiple objects |
| 03_Constructors_&init().py | init(), object initialization, constructor overriding |
| 04_Inheritance_basics.py | inheritance, parent & child class, code reusability, method reusing |
| 05_Types_of_inheritance.py | single, multiple, multilevel, hierarchical & hybrid inheritance, super(), MRO |
| 06_Encapsulation.py | encapsulation, public/protected/private variables, name mangling, getters & setters, data hiding |
| 07_Polymorphism.py | polymorphism, function & operator polymorphism, method overriding, runtime polymorphism |
| 08_abstraction.py | abstraction, abstract classes & methods, ABC module, hiding internal implementation |
| Assignment_Questions.py | classes, constructors, inheritance, encapsulation, polymorphism, abstraction |
| Assignments_Answers.py | OOP assignment solutions — abstract classes, encapsulation, inheritance, polymorphism, class & instance variables |
To improve my programming skills by coding consistently and building strong fundamentals — from Python basics all the way to advanced concepts.
- Python 3
Made by Abhirai2006 — feel free to explore, learn, or suggest improvements via Issues.