This repository contains step-by-step Jupyter Notebook exercises for learning Python programming fundamentals.
It is structured in a progressive order, starting from basics and gradually moving into advanced concepts.
File Name | Description |
---|---|
1.Basics.ipynb |
Introduction to Python syntax, variables, and data types. |
2.Strings.ipynb |
String operations, slicing, methods, and formatting. |
3.Operators.ipynb |
Arithmetic, logical, relational, and bitwise operators. |
4.Taking input from the user.ipynb |
User input and type casting. |
5.Operator Precedence.ipynb |
Understanding precedence & associativity of operators. |
6.If else Conditionals.ipynb |
Decision making with if-else statements. |
7.Match Case.ipynb |
Pattern matching using match case (Python 3.10+). |
8.String Formatting and f-strings.ipynb |
Old formatting vs f-strings. |
9.Loops.ipynb |
For loop, while loop, nested loops, and control statements. |
10.List.ipynb |
List operations, methods, and slicing. |
11.Tuples.ipynb |
Tuples and immutability. |
12.Sets.ipynb |
Set operations and methods. |
13.Dictionary.ipynb |
Dictionary operations, keys, values, items. |
14.File Handling.ipynb |
Reading, writing, and managing files. |
15.JSON module.ipynb |
Working with JSON data in Python. |
16.Object Oriented Programming.ipynb |
Classes, objects, inheritance, polymorphism, encapsulation. |
17.List comprehensions.ipynb |
One-line list, dict, and set comprehensions. |
18.Lambda functions.ipynb |
Lambda expressions, map() , filter() , reduce() . |
data.json |
Sample dataset for JSON practice. |
PY 1.png |
Reference image/screenshot. |
The notebooks are arranged to mimic a beginner → intermediate Python learning journey:
- Start from Basics → Strings → Operators → Conditionals → Loops
- Then practice Data Structures (List, Tuple, Set, Dictionary)
- Move to File Handling, JSON, OOP
- End with Comprehensions & Lambda
Practice notebooks by Roshan ✨ Aspiring Data Scientist