Skip to content

Latest commit

Β 

History

History
57 lines (51 loc) Β· 1.49 KB

File metadata and controls

57 lines (51 loc) Β· 1.49 KB

🐍 Python Basics (IIT Madras - Lecture Wise)

This repository contains my Python learning journey based on the IIT Madras Python course. All lectures from Lecture 01 to Lecture 51 are completed, and additional practice & advanced topics are currently in progress.

🚧 Status This repository is actively being updated with more practice problems, improvements, and advanced concepts.

πŸ“ˆ Progress Completed: Lecture 1–51 βœ… Additional Practice & Improvements: In Progress πŸ”„ (30%) πŸ“š Lecture Topics Covered πŸ”Ή Basics Lecture 01–03: Introduction, Setup, Print, Errors Lecture 04–06: Variables, Literals, Data Types Lecture 07–10: Operators & Expressions πŸ”Ή Strings & Conditions Lecture 11–13: Strings Lecture 17–19: If Statement Lecture 20–21: Import & Libraries πŸ”Ή Loops Lecture 22–34: While Loop, For Loop, Nested Loops πŸ”Ή Data Structures Lecture 35–36: Lists Lecture 37–39: Sets Lecture 40: Tuples Lecture 45–46: Dictionaries πŸ”Ή Functions Lecture 41–44: Functions Basics Lecture 47–48: Matrix using Functions Lecture 49–51: Scope, Types of Arguments, Advanced Functions πŸ’» Sample Codes πŸ”Ή Variables Example a = 10 name = "Ritik"

print(a) print(name) πŸ”Ή If-Else Example num = int(input("Enter number: "))

if num > 0: print("Positive") else: print("Negative") πŸ”Ή Loop Example for i in range(1, 6): print(i) πŸ”Ή List Example numbers = [1, 2, 3, 4]

for n in numbers: print(n) πŸ”Ή Function Example def add(a, b): return a + b

print(add(5, 3))