You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# 🐍 Python Lab Submission (Practical 1–13)
## 📂 About
This repository contains Python lab practicals designed to understand core programming concepts including variables, control structures, functions, file handling, and exception handling.
---
## 🧪 Practical List
| No. | Title | Session | CO | Marks |
| --- | ----------------------------------------------------------------------------------- | ------- | -------- | ----- |
| 1 | Introduction to Python and its Installation | S1 | CO1 | 05 |
| 2 | Create a Simple Hello World Program using Python | S2 | CO1, CO2 | 05 |
| 3 | Working with Variables and Data Types in Python *(Level: Moderate)* | S2 | CO2 | 05 |
| 4 | Study of Operators (Arithmetic, Comparison, Assignment, Logical, Bitwise, Identity) | S2 | CO1, CO2 | 05 |
| 5 | Study of Conditional Statements (if, if-else, nested if, if-elif-else) | S2 | CO1, CO2 | 05 |
| 6 | Study of Loops (for loop, while loop, nested loops) | S2 | CO1, CO2 | 05 |
| 7 | Working with Built-in Functions | S2 | CO1, CO2 | 05 |
| 8 | Creating User-Defined Functions *(Level: Complex)* | S2 | CO2 | 05 |
| 9 | Working with Strings, Lists, Tuples & Sets | S2 | CO2 | 05 |
| 10 | File Handling in Python | S2 | CO2 | 05 |
| 11 | Exception Handling in Python | S2 | CO4 | 05 |
| 12 | Read CSV File | S2 | CO4 | 05 |
| 13 | Write CSV File | S2 | CO4 | 05 |
---
## ⚙️ Requirements
* Python 3.x
* IDE (VS Code / PyCharm / Jupyter Notebook)
---
# 🧑💻 GitHub Lab Submission Instructions
## 🔁 Step 1: Fork the Repository
1. Go to the given GitHub repository link (shared by your instructor).
2. Click on the **Fork** button (top-right corner).
3. This will create a **copy of the repo in your GitHub account**.
---
## 💻 Step 2: Clone Your Forked Repository
1. Open your forked repository (in your GitHub account).
2. Click on **Code → Copy URL**.
3. Open terminal / CMD and run:
```bash
git clone
```
4. Move into the project folder:
```bash
cd
```
---
## 📁 Step 3: Create Your Folder (Roll Number)
1. Inside the repo, create a new folder with your **Roll Number**:
```bash
mkdir BT24F05F041
```
2. Add your code files inside this folder.
---
## ✍️ Step 4: Add and Commit Your Code
```bash
git add .
git commit -m "Added lab work by "
```
---
## ☁️ Step 5: Push Code to Your GitHub Repo
```bash
git push origin main
```
---
## 🔄 Step 6: Create Pull Request (PR)
1. Go to your forked repository on GitHub.
2. Click **Compare & Pull Request**.
3. Make sure:
* **Base repo** = Instructor’s repository
* **Base branch** = `main`
* **Head repo** = Your fork
4. 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 in the repo
* Commit message should be clean and meaningful
---
## ✅ Example Structure
```
Python-Lab/
│
├── BT24F05F041/
│ ├── lab1.py
│ ├── lab2.py
│
├── BT24F05F057/
│ ├── lab1.py
```
---
## 🚀 Final Note
Once your Pull Request is submitted, wait for approval.
If changes are requested, update your code and push again — 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**
# Python-lab