This repository contains Python lab practicals designed to build a strong foundation in programming concepts such as:
- Variables & Data Types
- Control Structures
- Functions
- File Handling
- Exception Handling
- CSV Operations
| No. | Title | Session | CO | Marks |
|---|---|---|---|---|
| 1 | Introduction to Python and its Installation | S1 | CO1 | 05 |
| 2 | Hello World Program | S2 | CO1, CO2 | 05 |
| 3 | Variables and Data Types (Moderate) | S2 | CO2 | 05 |
| 4 | Operators (Arithmetic, Logical, Bitwise, etc.) | S2 | CO1, CO2 | 05 |
| 5 | Conditional Statements | S2 | CO1, CO2 | 05 |
| 6 | Loops (for, while, nested) | S2 | CO1, CO2 | 05 |
| 7 | Built-in Functions | S2 | CO1, CO2 | 05 |
| 8 | User-Defined Functions (Complex) | S2 | CO2 | 05 |
| 9 | Strings, Lists, Tuples & Sets | S2 | CO2 | 05 |
| 10 | File Handling | S2 | CO2 | 05 |
| 11 | Exception Handling | S2 | CO4 | 05 |
| 12 | Read CSV File | S2 | CO4 | 05 |
| 13 | Write CSV File | S2 | CO4 | 05 |
- Python 3.x
- IDE: VS Code / PyCharm / Jupyter Notebook
- Open the repository on GitHub
- Click Fork (top-right corner)
- This creates a copy in your account
git clone https://github.com/<your-username>/Python-Lab.git
cd Python-Lab
## 📁 Step 3: Create Your Folder (Roll Number)
mkdir BT24F05F0xx
👉 Add all your practical files inside this folder.
## ✍️ Step 4: Add & Commit
git add .
git commit -m "Added lab work by <Your Roll No.>"
☁️ Step 5: Push Code
git push origin main
## 🔄 Step 6: Create Pull Request
Go to your forked repository
Click Compare & Pull Request
Ensure:
Base repo → Instructor’s repository
Base branch → main
Head repo → Your fork
Click Create Pull Request
## 📌 Important Rules
Folder name must be your Roll Number only
Do NOT modify other students’ folders
Do NOT change existing files
Use clean commit messages
## 📂 Example Structure
Python-Lab/
│
├── BT24F05F0xx/
│ ├── lab1.py
│ ├── lab2.py
│ ├── lab3.py
│
├── BT24F05F0yy/
│ ├── lab1.py
│
└── README.md
## 🚀 Final Note
Once your Pull Request is submitted, wait for approval.
If changes are requested, update your code and push again — your PR will update automatically.
## 🎯 Learning Outcomes
Understand Python basics and syntax
Apply control structures and loops
Develop modular programs using functions
Handle files and exceptions
Work with CSV data efficiently
## 👨💻 Author
Shubham Sanjay Madane