This repository serves as an organized, comprehensive archive of my Python programming journey. It documents my progression from absolute basics (input/output, variable types) to complex control flow, data structures (lists, string manipulations), and algorithm-oriented assignments.
- Last Updated: June 02, 2026
- Focus: Logic Development • Problem Solving • Clean Coding Practices
- Repository Path: /home/aniiil/Desktop/Python_from_Scratch
- Master Core Syntax: Deeply understand Python variables, operators, and data structures.
- Refine Logical Thinking: Implement nested conditional flows, loops, and mathematical computations.
- Develop Problem-Solving Skills: Solve real-world mathematical models (EMI, Compound Interest, Grading systems).
- Maintain Consistency: Commit code daily to track continuous growth and habit-building.
The codebase is organized into logical folders mapping to specific topics, assignments, and reference guides. Click on any directory path below to open it directly:
| Directory | Focus / Concepts Covered | Question Sheet |
|---|---|---|
| 📁 01_input_output | Basic I/O syntax, variables, type conversion | 01.txt |
| 📁 02_conditions | Basic if / else conditional logic |
02.txt |
| 📁 03_calculations | Basic arithmetic operators and expression evaluation | 03.txt |
| 📁 04_calculations | Operands, precedence, and mathematical properties | 04.txt |
| 📁 05_if_calculations | Decision trees integrated with math calculations | 05.txt |
| 📁 06_nested_if_calculations | Deeply nested conditions for multi-state validation | 06.txt |
| 📁 07_calculations | Advanced calculation paradigms | 07.txt |
| 📁 08_calculations – 16_calculations | Progressive problem-solving sheets (08 to 16) | Sheets 08-16 |
📅 Click to expand/collapse daily folders
| Directory | Focus & Key Exercises | Question Sheet / PDF |
|---|---|---|
| 📁 17_4May | Introduction to looping concepts and counters | 17_4May |
| 📁 18_5May | Iteration patterns & mathematical series | 18_5May |
| 📁 19_6May | Loop controls & nested loops | 19_6May.txt |
| 📁 20_7May | Pattern printing and digit extractions | 20_7May.txt |
| 📁 21_8May | Logical building and search concepts | 21_8May.txt |
| 📁 22_11May | Intermediate function logic & flow control | 22_11May |
| 📁 23_13May | Technical pattern design structures | 23_13May_Technical_patterens.docx |
| 📁 24_15May | Functions, arguments, and return styles | 24_15May |
| 📁 25_18May | Scope rules, namespaces, and recursion | 25_18May |
| 📁 26_19May | Introduction to String sequences and slicing | 26_19May |
| 📁 27_20May | Intermediate String manipulations and search APIs | 27_20May |
| 📁 28_21May | Complex String modifications, casing, validations | 28_21May |
| 📁 29_22May | Advanced String processing and algorithms | 29_22May |
| 📁 30_23May_150qs | Massive 150-Question Technical String Sprint | 30_23May(String).pdf |
| 📁 31_28May | Python Lists structure, indexing, slicing | 31_28May(List) |
| 📁 32_29May | List mutability, methods, and nested lists | 32_29May(list) |
| 📁 33_30May | List comprehensions, searching & sorting | 33_30May(List) |
| 📁 34_1Jun | Multi-dimensional lists, matrix computations | 34_01Jun |
- 📁 Assignments — Solutions to official/graded assignments (e.g., 01_11May).
- 📁 Class_Work — Structured notes and code snippets matching classroom sessions.
- 📁 Practice Sheets — PDF guides and extra task files for targeted self-study.
- 📁 Question_Sheets — Central repository containing the original text, document, and PDF sheets for all topics.
- 📁 Imps — Critical helper algorithms and snippets (such as multi-dimensional matrices in Imps/List or string helpers).
- 📁 Demo & Test — Quick playgrounds for testing expressions and language behaviors.
| Status | Module | Completion |
|---|---|---|
| ✅ | Python Basics (I/O, Types, Variables) | 100% |
| ✅ | Conditional Flows (if-elif-else, Chained Conditions) |
100% |
| ✅ | Operator Operations & Complex Arithmetic Calculations | 100% |
| ✅ | Dynamic Loop Iteration (while, for, loop controls) |
100% |
| ✅ | Functions & Variable Scopes | 100% |
| ✅ | String Structures (Slicing, Methods, Algorithms) | 100% |
| 🔄 | Data Structures: Lists & Matrices (Current Focus) | 90% |
- Variables & Type Systems: Dynamic typing, explicit type-casting, formatting strings with f-strings.
- Control Flows: Single & multi-branched expressions, nested decision trees, short-circuit evaluation.
- Loops & Control Statements: Standard loops, counter flags, break/continue directives, and infinite loop mitigations.
- Data Collections:
- Strings: Sequences, slice notation, immutability, pattern matching, substring lookup, and modification routines.
- Lists: Operations, memory model, list comprehension, multidimensional grids/matrices.
- Applied Calculations: Mathematical implementations including EMI equations, coordinate checks, compound interests, matrix summations.
Below is a demonstration of clean, well-commented code solving a real-world calculation:
# Compound Interest Calculation with Formatted Output
principal = 10000.0 # Principal Amount
rate = 8.5 # Annual Interest Rate in %
time = 2 # Time Period in years
# Formula: A = P * (1 + R/100)^T
amount = principal * (1 + rate / 100) ** time
interest_earned = amount - principal
print(f"Initial Investment: ₹{principal:,.2f}")
print(f"Accumulated Amount: ₹{amount:,.2f}")
print(f"Total Interest Earned: ₹{interest_earned:,.2f}")
# Chained Comparison Demonstration
score = 85
is_valid_grade = 0 <= score <= 100
print(f"Is the score valid? {is_valid_grade}") # Output: True- Language: Python 3.x
- Editor: VS Code / nano / vim / notepad etc.
- Version Control: Git & GitHub
Anil Yadav
B.Tech in Computer Science & Engineering
Aspiring Software Developer & Cybersecurity Enthusiast
- GitHub: @AnilYadav17
- Python Basics, I/O, and Variables
- Conditions and Control flow
- Loops & Logical Structures
- String manipulation & Algorithms
- Lists, Multidimensional Arrays & Matrices
- Object-Oriented Programming (OOP)
- File Handling, Modules, Exception Handling
- Data Structures & Algorithms (DSA in Python)
- Backend Web Development (Django/Flask)
"Consistency beats intensity."
Made with ❤️ and discipline by Anil Yadav.