Welcome to my Python learning repository! This project tracks my daily progress as I follow along with the "100 Days of Code" course by Code With Harry. It contains my hand-written scripts, exercises, and mini-projects.
Here is the topic index for the batch of files pushed to this repository, mapped directly to the concepts taught in the course:
| Day | File Name | Course Topic / Description | Core Concepts Covered |
|---|---|---|---|
| 03 | day3.py |
Modules and Pip | Internal vs External Modules, REPL |
| 04 | day4.py |
First Python Program | Basic syntax and print() function usage |
| 05 | day5.py |
Comments & Escape Sequences | \n, print() parameters (sep, end) |
| 07 | day7.py |
Calculator Exercise | Arithmetic operators and typecasting practice |
| 13 | day13.py |
String Methods | upper(), strip(), replace(), count() |
| 15 | day15.py |
Exercise 2: Good Morning Sir | Using the time module with conditional checks |
| 16 | day16.py |
Match Case Statements | Python's version of Switch-Case |
| 17 | day17.py |
For Loops | Iterating over sequences, step arguments in range() |
| 18 | day18.py |
While Loops | Conditional loops, decrementing loops, infinite loops |
| 20 | day20.py |
Functions | Defining functions with def, pass-by-reference basics |
| 22 | day22.py |
Introduction to Lists | Indexing, slicing, negative indexing, list comprehension |
| 24 | day24.py |
Tuples | Immutable sequences, tuple operations |
| 27 | day27.py |
Exercise 3: Kaun Banega Crorepati | Creating a text-based KBC game with lists/tuples |
| 28 | day28.py |
f-Strings | String formatting using the modern f"{variable}" syntax |
| 31 | day31.py |
Python Sets | Unordered collection of unique items, set properties |
| 32 | day32.py |
Set Methods | union(), intersection(), difference(), update() |
| 33 | day33.py |
Python Dictionaries | Key-Value pairs, accessing and altering values |
| 36 | day36.py |
Exception Handling | try, except blocks to handle runtime errors |
| 38 | day38.py |
Raising Custom Errors | Using the raise keyword for input validation |
| 40 | day40.py |
Exercise 4: Secret Code Language | Encoding and decoding text strings using random letters |
| 46 | day46.py |
os Module Introduction | Automating directory creation, file handling via CLI |
| 49 | day49.py |
File I/O Basics | open(), read(), write(), and handling modes (r, w, a) |
| 52 | day52.py |
Lambda Functions | Creating anonymous, single-line inline functions |
| 53 | day53.py |
Map, Filter, and Reduce | Functional programming paradigms over iterables |
| 58 | day58.py |
Constructors in OOP | Understanding Object-Oriented Programming and __init__() |
| 60 | day60.py |
Getters and Setters | Encapsulation using the @property decorator |
| 61 | day61.py |
Inheritance | Reusing classes, single inheritance structures |
| 62 | day62.py |
Access Modifiers | Public, Private (__), and Protected (_) variables |
| 63 | day63.py |
Exercise 6: Library Management System | Class-based system tracking books and counts |
| 77 | day77.py |
Operator Overloading | Customizing standard math operators using dunder methods |
| 84 | day84.py |
Time Module Detailed | Tracking program efficiency via time.time() and time.sleep() |
| 86 | day86.py |
Walrus Operator | Assignment expression syntax via := |
| 87 | day87.py |
Shutil Module | Advanced file operations like copying, moving, and archiving |
Run any daily script using the standard interpreter terminal call:
python day85.py "URL_HERE" output.jpg